Parse error in com_componentbuilder/helpers/componentbuilder.php on line 1496 #187
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#187
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
Fresh install
Expected result
Actual result
Parse error: syntax error, unexpected '.', expecting ')' in ... administrator/components/com_componentbuilder/helpers/componentbuilder.php on line 1496
System information (as much as possible)
Ubuntu Server 14.10 Apache 2.2 PHP 5.6
Additional comments
Please check you php.
If you look at the line 1496 you will see it is concatenating strings in arguments values. I have seen this before, but it usually is due to low php version that you will get an error.
But okay it seems there is a fix. Can you try some of these and let me know what worked. The I will patch this.
Hello,
I solved my problem - this was caused with PHP version;
Site info:
Database Version | 5.5.57-0ubuntu0.14.04.1
Database Collation | utf8mb4_general_ci
Database Connection Collation | utf8mb4_general_ci
PHP Version | 5.5.9-1ubuntu4.22
Web Server | Apache
WebServer to PHP Interface | apache2handler
Joomla! Version | Joomla! 3.8.2 Stable [ Amani ] 7-November-2017 15:00 GMT
Joomla! Platform Version | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
I changed line 1496
from:
to this:
I changed line 1565
From:
to:
Regards and happy coding 💯