-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) in plugins\system\languagefilter\languagefilter.php on line 630 #19267
Comments
Can't confirm. Login works as expected. System information3.8.4-dev MAMP 4.2
|
You need to have "System - Language Filter" enabled to reproduce the error |
Yes, older php has a problem with that. I start to work on PR |
Honestly, I was scared when I saw #19099 merged. Haven't looked much as it but it seems it change existing behavior (you even need to change tests to have tests passed). There was also change in the to language filter plugin which seems not received code review yet, so to be safe, maybe it should go to 3.9.0 instead of to 3.8.4. |
Please test PR #19268 |
The php code is not correctly parsed by php5:
and now should be OK. I tested:
at http://sandbox.onlinephpfunctions.com/ on php 5.3 with success.
|
(nite that this error message is only untranslated in PHP <5.5 |
@jsubri I moved it to this place. The issue is that the link (without its own menu item) with removed IDs on the modern routing returns a 404 error is old and I have nothing to do with it yet:) At now it is only visible. Yes, PR #19099 changed a way how build is a SEF link now. Early, it was hidden, joomla used Itemid from previous page or home page If no menu assigned (to itself or parents) then |
If the biggest problem is that this generates 404 then I will add a fix for that. Then mentioned link |
I prepared a PR #19280 that fix issue with error 404 for links like |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/19267 |
See PR #19280 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19267. |
Steps to reproduce the issue
Staging (3.8.4-dev )with Multilingual Associations
Expected result
No error message
Actual result
Can't login, site broken
System information (as much as possible)
3.8.4-dev
Additional comments
modified line 630
from: $query = $this->app::getRouter()->parse($uri);
to: $query = $this->app->getRouter()->parse($uri);
The text was updated successfully, but these errors were encountered: