See below system information.
Navigate to any frontend page.
The page is shown.
The error page is shown with following PHP notice:
Notice: Undefined index: in /xyz/plugins/system/languagefilter/languagefilter.php on line 222
Notice: Trying to get property 'sef' of non-object in /xyz/plugins/system/languagefilter/languagefilter.php on line 222
The backend works normally.
When the "System - Page Cache" plugin is disabled, the frontend works well, i.e. no issue.
The value of the "Use Browser Caching" setting of the "System - Page Cache" plugin or the cache settings in global configuration (off or conservative or progressive) do not have any influence on the issue.
Having the "System - Language Code" plugin with language codes defined enabled or not also does not have any influence on the issue.
With another copy of the same Joomla 3.8.12 updated to the Joomla! 3.9 Alpha build the issue has not happened.
That means the issue came up with one of the changes in the 3.9-dev branch since Joomla! 3.9 Alpha was released.
@mbabker Maybe related to PR #21012 ?
Reverting other PRs #21011 and #21695 did not help, so I don't think the issue is caused by those.
I have not tested if that also happens with a new install of 3.9.0-alpha2-dev nightly build of today.
Status | New | ⇒ | Discussion |
Category | Cache Multilanguage | ⇒ | Cache com_cache |
I can also replicate this issue on a fresh install with the plugin enabled
Labels |
Added:
J3 Issue
|
I usually never enable the system cache plugin on a multilingual site, thus why I guess I had not seen this in the last 3 days.
I confirm the issue when the system page cache plugin is enabled.
[09-Sep-2018 16:56:30 Europe/Berlin] PHP Notice: Undefined variable: user in ~/plugins/system/cache/cache.php on line 118
[09-Sep-2018 16:56:30 Europe/Berlin] PHP Notice: Undefined index: in ~/plugins/system/languagefilter/languagefilter.php on line 222
[09-Sep-2018 16:56:30 Europe/Berlin] PHP Notice: Trying to get property of non-object in ~/plugins/system/languagefilter/languagefilter.php on line 222
[09-Sep-2018 16:56:30 Europe/Berlin] PHP Notice: Undefined index: in ~/plugins/system/languagefilter/languagefilter.php on line 222
[09-Sep-2018 16:56:30 Europe/Berlin] PHP Notice: Trying to get property of non-object in ~/plugins/system/languagefilter/languagefilter.php on line 222
reverting #21012 solves the issue.
Setting this issue as release blocker.
Labels |
Added:
?
|
WE have 2 errors in the plugin
Making PR now
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-09 15:20:03 |
Closed_By | ⇒ | infograf768 |
Labels |
Removed:
?
|
@infograf768 Can you replicate this issue?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22099.