White page when want add a post or a page and can’t add media
-
Hi,
I’m contacting you after i’ve get some issue with my wordpress. The website runs now since 5 years on WordPress and it’s updated on the last version (5.4.1). My host is configured on PHP 7.3.This morning i’ve tried a new theme on my website and finally i decided to return on the previous. Now i’ve got a bunch of issues :
– white page when add a post or a page with Gutenberg editor (not the classic)
– with classic editor i can’t publish but only register as draft or submit
– unable to add media (that never ends).Notice i’ve add some content yesterday and it was fine.
What i’ve tried without success :
– use default theme (Twenty twenty)
– disable all extensions
– reinstall wordpress
– reinstall a database backup (and i’ve get an error as there was a duplicate of the primary for row 0 in option).I’ve activated the debug too to see errors on the white page and i’ve got that :
Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/post.php on line 6801 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/post.php on line 6802 Notice: Trying to get property 'ID' of non-object in /home/mywebsite/www/wp-includes/post.php on line 6806 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/post.php on line 7047 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/theme.php on line 3094 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/theme.php on line 3323 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/post.php on line 4700 Notice: Trying to get property 'ID' of non-object in /home/mywebsite/www/wp-includes/post.php on line 4700 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-includes/post.php on line 4142 Notice: Trying to get property 'has_archive' of non-object in /home/mywebsite/www/wp-content/plugins/wp-optimize/cache/class-wpo-cache-rules.php on line 152 Notice: Trying to get property 'post_type' of non-object in /home/mywebsite/www/wp-admin/includes/post.php on line 678 Warning: Creating default object from empty value in /home/mywebsite/www/wp-admin/includes/post.php on line 716 Notice: Undefined property: stdClass::$ID in /home/mywebsite/www/wp-admin/post-new.php on line 67 Notice: Undefined property: stdClass::$post_status in /home/mywebsite/www/wp-admin/edit-form-blocks.php on line 101 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-admin/includes/meta-boxes.php on line 1411 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-includes/taxonomy.php on line 226 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-includes/taxonomy.php on line 229 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-admin/edit-form-blocks.php on line 413 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php on line 266 Warning: Invalid argument supplied for foreach() in /home/mywebsite/www/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox.php on line 1046 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-includes/taxonomy.php on line 226 Notice: Undefined property: stdClass::$post_type in /home/mywebsite/www/wp-includes/taxonomy.php on line 229
I’ve got a lack of idea now of what to do. Can someone have idea or can help me please ?
Thanks by advance ^^
- The topic ‘White page when want add a post or a page and can’t add media’ is closed to new replies.