-
Notifications
You must be signed in to change notification settings - Fork 5
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
Weird error on one of my forums: #8
Comments
Which php version are you using?
…On Tue, Jul 17, 2018, 21:56 DreTaX ***@***.***> 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
<#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
<#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 ) |
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.
The text was updated successfully, but these errors were encountered: