Support Forum
We're having the problem that simple:press throws a lot of warning messages (see screenshot). We're using PHP 5.4 with Wordpress 3.3.2.
The warning messages we can suppress by turning off the error reporting. But when we click on a forum to see its threads the following page is completly empty showing no error at all.
We already tried setting up Wordpress and the forum again from scratch with the same problems which leads to the assumption that the simple:press forum is not compatible with PHP 5.4?
Please community, help! 🙂
Let's talk errors first. Do you have E_STRICT error reporting turned on. While I will not claim that there may be some things we ought to do for php5.4 - and I see some tickets raised on this issue against WP core as well - I was under the impression that those warnings would only be triggered if E_STRICT was turned on and if that is the case then it is never recommended for a production site.
Now as to why nothing displays then there could be various reasons for this but the most common is WP theme related where a theme is doing non-standard stuff or being 'clever'.
if you go to the forum admin > Integration > Page and Permalink panel there are some 'theme display' options for dealing with the WP loop and multiple display issues. Try turning those on one at a time to see if this brings up the display.
And I am looking into the need to declare an object to see if this is indeed standard php5.4 or just an E_STRICT issue.
YELLOW
SWORDFISH
|
Hi Swordfish
Thank you very much for your swift reply on this. Actually I have enabled all errors using error_reporting(-1) to see if an error is thrown because no content is being generated when clicking on a forum.
Actually the theme we created ourselves and it works on our local host using PHP 5.2, WP 3.3.2 and the newest simple:press plugin.
We have setup yet another host with PHP 5.4 but we're running out of time today. We will try to setup it on this new host once more to see if we can make it work under 5.4. Also we'll try the tips you gave us. I'll report back tomorrow in the afternoon.
Thanks again!
Marcus
1 Guest(s)