Missing content area in New Post

Posted in: Newspaper
Post count: 3

Suddenly started getting this error message when trying to create a new post and the content area is not displaying.

http://s28.postimg.org/sw7d9kqcd/error.jpg

Don’t think I’ve changed anything. Existing posts and pages can be edited fine, this only happens when trying to create a new one.

The error messages in the image read:

“Warning: Creating default object from empty value in /home/murphywealth/public_html/wp-admin/includes/post.php on line 631”

“Warning: number_format() expects parameter 1 to be double, string given in /home/murphywealth/public_html/wp-content/plugins/wordpress-seo/inc/class-wpseo-utils.php on line 610”

Thanks

Post count: 22421

Hello,

Sometimes plugins can create all kinds of problems. Please try to disable all of your plugins except visual composer(it is required by the theme) and try to create a new post or page.
You can also check the site console for errors using your browser inspector.
Let us know if the problem is still there

Thank You!

Post count: 3

Hi Bogdan,

I think it’s happened during the site migration. I haven’t changed anything in terms of plugins. I did what you suggested and deactivated all the plugins except visual composer and it didn’t work (although it did get rid of the second error message above).

“You can also check the site console for errors using your browser inspector.” – What does this mean?

Thanks

Post count: 22421

Hi,
Every browser has an inspector. Right click on your website and select: Inspect element. There you will see a ‘console’ button. Here is an example for firefox: https://developer.mozilla.org/en/docs/Tools/Web_Console
This console shows you any errors you might have on your site.
Thanks

Post count: 3

No errors.

I changed the theme and have the same problem. So the problem is with WordPress and not Newspaper.

Is there any way i can reinstall the WordPress files without disrupting the way the website looks? (perhaps only replacing certain folders that don’t get affected by themes or database settings etc.)

Thanks

Post count: 9544

Yes, you can reinstall WordPress without breaking the theme.

See the WordPress.org website on how to manually install via FTP.

Post count: 22421

Hello,

Our advice, as Chris stated, is to manually replace WordPress files via FTP. You can read about it in this guide
: https://codex.wordpress.org/Installing_WordPress
Make sure you back-up your files before attempting to replace them.
I Hope you get it fixed. Let us know.

Thank you

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.