Attempting to add a new page or post causes error
-
Latest version of WordPress, theme and all plugins up to date.
When I try to add a page or post, the following error messages appear:
Warning: Creating default object from empty value in /homepages/4/d514737706/htdocs/IASE/WordPress/wp-admin/includes/post.php on line 742
Warning: Cannot modify header information – headers already sent by (output started at /homepages/4/d514737706/htdocs/IASE/WordPress/wp-admin/includes/post.php:742) in /homepages/4/d514737706/htdocs/IASE/WordPress/wp-admin/admin-header.php on line 9
I’ve tried disabling all plugins, changing to a “default” theme (Twenty Twenty-Two), and reinstalling WordPress, and none of it helps.
At the same time this started, I started having trouble adding items to my media library. Every time I try, it fails and an item that has no name or association is added to my database. I cannot find a way to remove those items.
Someone please help! I’m desperate; my level of frustration is increasing, and my associates don’t understand why I can’t fix it instantaneously. Everything used to work, and all of a sudden it doesn’t. I don’t know what to do next.
The site is
The page I need help with: [log in to see the link]
- The topic ‘Attempting to add a new page or post causes error’ is closed to new replies.