Page 1 of 2

"Preview" not working since WP 4.0/Suffusion 4.4.7 /Solved/

Posted: 15 Oct 2014, 03:29
by Zaphodbeeblerock
Hello

I updated WP to 4.0 ans Suffusion to 4.4.7. Everything fine, except the Post-Preview not working any more.

When I edit an article and want to see the changes in the preview, the page is shown, but

a) without the changes I made, and...
b) the following error-message, in red, above the post:

Warning: Illegal offset type in isset or empty in /webspace/14/44923/heissmann-acoustics.de/wp-includes/post.php on line 1151

What I tried:
*Deactivating Plugins => No Change
*Using other Theme => Problem gone ... but thats no option for me


Thank you for reading, and maybe helping :)

Kind regards
Alexander

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 05:34
by Colin
That is only a warning so ignore it. It shouldn't be being shown so maybe you have WPdebug on? So turn debug off or if you don't have it on add the following code as the last 2 lines of wp-config.

Code: Select all

error_reporting(0);
@ini_set('display_errors', 0);
I would reinstall both Suffusion and Wordpress as well as the error you are seeing is a Wordpress one not a Suffusion one and may well be causing your display issue.

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 05:41
by drake
No, it is a problem at your end. I tested on few different sites and the preview works just fine. Because you've disabled the plugins, maybe you have some custom functions or some javascripts which break the normal behavior.

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 06:58
by Zaphodbeeblerock
@Colin
It´s not to be ignored, because the preview is not working. If it was only the message I maybe could live with it, but I need the preview-function

@drake
The Problem was there before disabling the plugins, and after the same. Deleting all custom includes also didn´t help, but switching to another theme did, so in my view it could have sth. to do with suffusion update?!

Anyway ... do you have any sugestion what I could do?

Kind regards
Alexander

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 07:28
by Colin
Read the last line of my reply.

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 07:39
by Zaphodbeeblerock
Ok ... Sorry

I guess this is both to be done "by hand", as there is no option to "update to the existing version" neither in suffusion or Wordpress. I guess I have to spend some time in googeling how this is done.

Kind regards
Alexander

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 15 Oct 2014, 07:45
by drake
If you switch to one of the default themes, these don't relies too much on javascript. So, it is posible to see the preview because their functions don't interfere with your wrong functions because simply not exist. On the other hand Suffusion use javascript for a lot of things like featured content slider or menus - and these javascripts can conflict with yours.

Also, if you use a caching plugin, or you use a CDN or a service like Cloudflare, even if you disable the plugins can take some time before disabling become active. In this interval the site still can use the plugins, even if they are disabled.

Other places to check? If you use some templates in a child theme, or functions in functions.php.

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 19 Oct 2014, 14:36
by Zaphodbeeblerock
Hello

I made a new installation of Wordpress 4.0, Deleted and reinstalled Suffusion 4.4.7, ran this System without plugins, deleted all custum css,I have no child-theme running, no chaching plugin, as I know also no CDN and no cloud services.

The problem is still there.

I am afraid, that suffusion is not really WP4 ready, even if several pages work properly. Mine does not... Anyway, I would like not to discuss, if it is a suffusion, or a WP issue. I am hoping anybody has a good Idea to solve this problem.

Kind regards
Alexander

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 19 Oct 2014, 15:51
by drake
I am out of ideas. As I said, Suffusion + WP 4.0 works on all my sites, all over the world. I have problems with some premium themes, but not with Suffusion. Still think that it is something on your end. What PHP version is used on your server? But MySQL database version? See if your server respect WordPress requirements: https://wordpress.org/about/requirements/ (they recommend php version 5.2.4., but even better is to have a 5.3.+ version)

Which is the maximum memory allocated for php execution? (this need to be over 128MB, or even better 256MB)

Can find all informations using phpinfo() function (can use this plugin: https://wordpress.org/plugins/wordpress-php-info/). Or if you already use All in One SEO Pack, can enable Performance feature and will see all these informations.

Re: "Preview" not working any more since WP 4.0/Suffusion 4.

Posted: 24 Oct 2014, 17:35
by LishaZf
Hi Zaphodbeeblerock. I cannot see the changes I made when I tried to preview as well. Were you able to figure it out? Thanks.