Open dretax opened 6 years ago
Which php version are you using?
On Tue, Jul 17, 2018, 21:56 DreTaX notifications@github.com wrote:
public static $countFormat = '<' . 'a href="%2$s" class="count OverlayTrigger">%1$d</' . 'a>'; ErrorException: Fatal Error: syntax error, unexpected '.', expecting ',' or ';' - library/WidgetFramework/WidgetRenderer/UserFollow.php:5Generated By: DreTaX, 2 minutes ago
0 [internal function]: XenForo_Application::handleFatalError() #1
https://github.com/xfrocks/bdWidgetFramework/pull/1 {main}
array(3) { ["url"] => string(46) " https://fougerite.com/admin.php?widgets/2/edit" ["_GET"] => array(1) { ["widgets/2/edit"] => string(0) "" } ["_POST"] => array(0) { } }
Happens when i want to view a widget in the admin panel, and I don't see anything just a white page.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xfrocks/bdWidgetFramework/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOm6HNuDxzvmRSyDekL2rYEBmCJsPQhks5uHfsqgaJpZM4VTAqW .
This server has:
PHP 7.2.7-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jun 22 2018 09:13:37) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.7-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
That's weird...
This error just comes up randomly?
When i open a widget in the admin panel, but nothing comes up but a white page. Tried reinstalling too.
I meant whether it worked before? Have it ever worked normally?
Yes. When I upgraded to 2.6.4 the issue appeared or so. uhhh
Probably an issue with 2.6.4, let me check.
I have tested with PHP 7.2.7 and it seems to be fine...
Can you add new widget?
Seems like i cant. sorry for the delay. I even tried reinstalling.
So this error must be new because you must have been able to add new widget at some point in the past...
This is tricky. Consider changing the line like below and try again to test it:
public static $countFormat = '<a href="%2$s" class="count OverlayTrigger">%1$d</a>';
It works now. Dunno if i should try reinstalling php or whatsoever.
Can you give me the full server spec? I will try to do a exact duplicate. Which server provider? From your previous comments, I assume you are running Ubuntu 14.04? Are you using it with Apache or NGINX? etc.
public static $countFormat = '<' . 'a href="%2$s" class="count OverlayTrigger">%1$d</' . 'a>';
ErrorException: Fatal Error: syntax error, unexpected '.', expecting ',' or ';' - library/WidgetFramework/WidgetRenderer/UserFollow.php:5Generated By: DreTaX, 2 minutes ago
0 [internal function]: XenForo_Application::handleFatalError() #1 {main}
array(3) { ["url"] => string(46) "https://xyz.com/admin.php?widgets/2/edit" ["_GET"] => array(1) { ["widgets/2/edit"] => string(0) "" } ["_POST"] => array(0) { } }
Happens when i want to view a widget in the admin panel, and I don't see anything just a white page.