seb-vial / grav-plugin-about-me

Simple plugin to show some information about yourself, with a nice picture, your name, your title/job and a description
MIT License
9 stars 7 forks source link

After installing blank screen #28

Closed deKoning closed 8 months ago

deKoning commented 1 year ago

After I installed the plugin, I see a bank screen. Also the admin panel is not accessible anymore. My fix was to manually delete the plugin and the website worked again as before.

f3nrir197x commented 1 year ago

Same here, after installing the plugin, the page returns: This page isn’t working

is currently unable to handle this request. HTTP ERROR 500 On the http log it shows up as: [Mon Jun 05 19:19:42.143513 2023] [proxy_fcgi:error] [pid 123456:tid 123456789012345] [client x.y.z.a:0] AH01071: Got error 'PHP message: PHP Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in /path/to/the/website/public_html/user/plugins/aboutme/aboutme.php on line 71' As per the suggestion error I added parenthesis in the line 71: return ($a['position'] < $b['position']) ? -1 : (($a['position'] == $b['position']) ? 0 : 1); It seems to be a problem with PHP version
sapo33 commented 11 months ago

Same problem. PHP Version 8.2.8 Thanks for the fix.

seb-vial commented 8 months ago

A new release has been drafted and should soon be picked up by Grav.