Project

General

Profile

Actions

Bug #93395

closed

module shows PageNotFoundException in BE

Added by David Menzel over 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-02-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.4
Tags:
BE, blog, pagenotfound
Complexity:
Is Regression:
Sprint Focus:

Description

I'm not sure if that is an extension problem, a core issue or a misconfiguration on my side but maybe someone has an idea or had a similar problem before.

I updated ext:blog to v10 and noticed that right after the update, without any migration of the template files, I got the following error in the 3 modules.

(1/1) #1343589451 TYPO3\CMS\Core\Exception\Page\PageNotFoundException

Could not fetch page data for uid -1.

public/typo3/sysext/core/Classes/Utility/RootlineUtility.php line 262

The happens for all 3 blog modules.
I attached the stacktrace as txt file.
After going through the migration steps the FE and BE works.
Two things are not working: the 3 BE modules and to be able to edit blog posts in the workspace but that seems to be another issue...

I already opened an issue on the blog issue tracker (https://github.com/TYPO3GmbH/blog/issues/184) but I don't know what could cause such an issue, so I opened this issue here as well.

TYPO3 9.5.24, PHP 7.4


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #87475: Filelist error - RootllineUtility tries to fetch deleted page by sys_file_storage UIDClosed2019-01-18

Actions
Actions #1

Updated by David Menzel over 3 years ago

  • Related to Bug #87475: Filelist error - RootllineUtility tries to fetch deleted page by sys_file_storage UID added
Actions #2

Updated by David Menzel over 3 years ago

It seems that the issue has something to do with workspaces. We had (old) blog pages in workspaces and changing those to "deleted" seems to have fixed the problem and now the modules work. Furthermore, workspaces and ext:blog seems not to work properly because everytime someone wants to preview a blog post in workspaces this error occurs:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: An exception occurred while executing 'SELECT uid_local, uid_foreign, tablenames, fieldname, sorting, sorting_foreign, uid, pid, tstamp, crdate, cruser_id, deleted, hidden, starttime, endtime, t3ver_oid, t3ver_id, t3ver_wsid, t3ver_label, t3ver_state, t3ver_stage, t3ver_count, t3ver_tstamp, t3ver_move_id, t3_origuid, sys_language_uid, l10n_parent, l10n_diffsource, title, description, parent, items, fe_group, images, single_pid, shortcut, import_id, import_source, seo_title, seo_description, seo_headline, seo_text, content, l10n_state, posts, slug, tx_rds_uid_intranet, tx_rds_related_rootid, tx_rds_website_priority, tx_kesearch_filter, tx_kesearch_filtersubcat, record_type FROM sys_category WHERE (pid = ?) AND (t3ver_oid = ?) AND (t3ver_wsid = ?) AND (sys_category.deleted = 0) LIMIT 1' with params [-1, 245, 1]: Unknown column 'uid_local' in 'field list' | Doctrine\DBAL\Exception\InvalidFieldNameException thrown in file /var/www/user.dev/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php in line 64. Requested URL: .../typo3/index.php?route=%%2Fweb%%2Flayout%%2F&token=--AnonymizedToken--&id=1639

Seems to be this issue: https://forge.typo3.org/issues/81208 .. but that could be another issue and not related the initial one.

Not sure why the error didn't appear with blog 9.1.2.

Actions #3

Updated by Riccardo De Contardi about 3 years ago

fix for #81208 has been recently merged, as far as I can understand. Does this issue still occurs?

Actions #4

Updated by Benni Mack over 2 years ago

  • Status changed from New to Closed

I'll close this issue for the time being. TYPO3 v10 will take care of fixing the "-1" records during the upgrade wizard, making sure that this issue will never happen anymore.

Actions

Also available in: Atom PDF