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

Reports about issues that you encounter in Suffusion. This forum is closed with effect from February 2019. Please post future requests on https://github.com/sayontan/suffusion.
Forum rules
This forum is being officially closed with effect from 3rd February 2019. Future support requests can be posted on the GitHub page at https://github.com/sayontan/suffusion/issues.
Zaphodbeeblerock
Posts: 21
Joined: 29 Nov 2012, 15:18
Location: Germany
Contact:

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

Post by Zaphodbeeblerock » 15 Oct 2014, 03:29

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
Last edited by Zaphodbeeblerock on 13 Feb 2015, 16:46, edited 1 time in total.

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

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

Post by Colin » 15 Oct 2014, 05:34

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.

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

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

Post by drake » 15 Oct 2014, 05:41

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.

Zaphodbeeblerock
Posts: 21
Joined: 29 Nov 2012, 15:18
Location: Germany
Contact:

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

Post by Zaphodbeeblerock » 15 Oct 2014, 06:58

@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

Colin
Posts: 5066
Joined: 27 Oct 2009, 10:46

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

Post by Colin » 15 Oct 2014, 07:28

Read the last line of my reply.

Zaphodbeeblerock
Posts: 21
Joined: 29 Nov 2012, 15:18
Location: Germany
Contact:

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

Post by Zaphodbeeblerock » 15 Oct 2014, 07:39

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

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

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

Post by drake » 15 Oct 2014, 07:45

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.

Zaphodbeeblerock
Posts: 21
Joined: 29 Nov 2012, 15:18
Location: Germany
Contact:

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

Post by Zaphodbeeblerock » 19 Oct 2014, 14:36

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

drake
Posts: 6223
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania
Contact:

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

Post by drake » 19 Oct 2014, 15:51

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.

LishaZf
Posts: 1
Joined: 24 Oct 2014, 06:38

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

Post by LishaZf » 24 Oct 2014, 17:35

Hi Zaphodbeeblerock. I cannot see the changes I made when I tried to preview as well. Were you able to figure it out? Thanks.

Locked