MyBB Community Forums

Full Version: Prostats datetime Problem after update to PHP 7
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: MjAGXpS.png]

date and time are showing like this ....
I am also having this issue. It seems to only effect posts from 'yesterday' and once it passes that point they get the correct timestamp. Can anyone shed some light on this?
Send a message to ATofighi, he is creator of this plugin :
https://community.mybb.com/user-69212.html
The mentioned plugin has some incompatibility with PHP 7.2+.

1. You are gonna get a lot of warnings like "Use of undefined constant" as the array keys are not quoted in variables used in templates (specially 'tablespace' and 'borderwidth'). In future versions of PHP those are gonna cause error.
2. Variable defined as string and used as array will lead to illegal offset. Line no. 1236. $active_cells = ""; should be $active_cells = [];
3. Empty array is uncountable. Line 1814. if (count($parent_mod_forums)) should be if (!empty($parent_mod_forums) && count($parent_mod_forums))
4. Some type casting issues.

This plugin needs some love.
Thanks for that effone! Now if only I could solve my other problems...
fixed by changing format of date and time in prostats plugins settings

M-d, h:i

just copy and paste this into data and time Format