MyBB Community Forums

Full Version: showteam.php = Error code 500
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My forum is working great, but when I go to /showteam.php it's give me this error.

This page isn’t working
www.myforum.com is currently unable to handle this request.
HTTP ERROR 500
Same problem here:

Parse error: syntax error, unexpected '[' in /home/xxxxxxx/xxxxxxxx/xxxxxx/showteam.php on line 282
This problem also occurs on this Mybb.com forum:
https://mybb.com/showteam.php
Thanks, now being tracked on GitHub: https://github.com/mybb/mybb/issues/3347
(2018-07-16, 02:28 PM)Devilshakerz Wrote: [ -> ]Thanks, now being tracked on GitHub: https://github.com/mybb/mybb/issues/3347

I'm using 1.8.17 and my showteam.php shows up just fine.

[Image: ee41ed10d5d8e40953bc462922fe9414.png]
@Serpius the issue is caused by an incompatibility with old PHP versions (< 5.4). It's likely you have a more recent version.
(2018-07-16, 04:51 PM)Shade Wrote: [ -> ]@Serpius the issue is caused by an incompatibility with old PHP versions (< 5.4). It's likely you have a more recent version.

Aha...

Yes, you are correct... I am using PHP 7.1.18.
Indeed, I updatet from php 5.3 to php 5.6.36 and everything works fine again.
My provider provides also up to php 7.1, but when i change to 7.0 or 7.1 my forum won't open......
Is there something I have to change before changing to 7.0 or 7.1?
Most probably some plugins are not compliant to 7.0-7.1. MyBB supports PHP up to version 7.2, even though there are still some warnings (open PR at the moment, will be probably added to next version).
(2018-07-16, 06:05 PM)Shade Wrote: [ -> ]Most probably some plugins are not compliant to 7.0-7.1. MyBB supports PHP up to version 7.2, even though there are still some warnings (open PR at the moment, will be probably added to next version).

Is there a simple way to check wich ones are not compatible (can I see it in the script of the plugins)? Or do I have to switch off all the plugins and switch them on again one by one to check wich one(s) causes the problem?
(2018-07-16, 07:05 PM)wageral Wrote: [ -> ]
(2018-07-16, 06:05 PM)Shade Wrote: [ -> ]Most probably some plugins are not compliant to 7.0-7.1. MyBB supports PHP up to version 7.2, even though there are still some warnings (open PR at the moment, will be probably added to next version).

Is there a simple way to check wich ones are not compatible (can I see it in the script of the plugins)? Or do I have to switch off all the plugins and switch them on again one by one to check wich one(s) causes the problem?

Switch all plugins off and reactivate them one by one.

That's the best way to see which ones are messing things up.

FYI, I am using PHP 7.1.18 and ALL of my plugins are working fine. Many of the plugins were created during the PHP 5.x.x versions.

Currently, I have no plans to move up to the PHP 7.2.xx version because I see no reason to do so.