Error when posting with php 5.4
Hi I’m using the latest version of wordpress with the Thesis theme version 1.8.1.
My web host 1&1 recently requested that I change my global php to version 5.4 because as of april 2013 they will no longer support older versions.
The problem occurred when I tried to publish a post. After clicking publish the page reloads to a page with the following error message printed from top to bottom. (the preview button gets the same result)
Warning: Illegal string offset ‘type’ in
hp on line 150
If I check my posts, the post has actually been published but I am forced to backtrack to escape the error messages.
I changed my global php back to version 5.2 and the problem went away. I then email my web host (1&1) and thier response was the following:
“As of the moment, I would advise you to set the php version back to 5.2 first as it seems that there is an issue when switching to the said version. PhP version 5.4 does not support register globals anymore and this causes the CMS softwares (Ex: Joomla, WordPress, Drupal & etc.) error.
If you may also contact WordPress Support to check for other workarounds as we do not have the full control of the said third party software.“
I am kind of out of my depth with this stuff. Would appreciate any advice anyone could give me. I have a couple of clients for whom I set up websites with 1&1 so obviously I’m anxious to resolve the problem before I’m forced to switch to php 5.4 next april.
- The topic ‘Error when posting with php 5.4’ is closed to new replies.