Moderator
t-p
(@t-p)
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install and activate “Health Check”: https://ww.wp.xz.cn/plugins/health-check/
It will add some additional features under the menu item under Tools > Site Health.
On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, without affecting normal visitors to your site. This allows you to test for various compatibility issues.
There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.ww.wp.xz.cn/support/handbook/appendix/troubleshooting-using-the-health-check/
Hi t-p
thank you for your answer. Unfortunately It didn’t solve the issue.
I tried the following:
– disable all plug-ins
– using Twenty-Twenty (and others) as theme
– renaming the plug-ins folder to make sure they are all disabled
– completely new install of XAMPP with PHP 7.4.25
– trying the “Health-Check” plug-in. It tells me the site is in good health. Itonly tells me that imagick isn’t installed and that I don’t use https, which is ok, since it’s only on the intranet. I also checked the data integrity, which is good.
– I turned on Truble Shooting mode
– I turned off debug mode (which I had turned on to figure out what’s wrong…)
When I try to create a post with Debug Mode off I get the following message:
Warning: Creating default object from empty value in D:\xampp\htdocs\wp-admin\includes\post.php on line 736
If I try it with Debog Mode on, I get the following messages:
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7358
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7359
Notice: Trying to get property 'ID' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7363
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 7605
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\theme.php on line 3421
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\ms-blogs.php on line 799
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\theme.php on line 3645
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 5148
Notice: Trying to get property 'ID' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 5148
Notice: Trying to get property 'post_type' of non-object in D:\xampp\htdocs\wp-includes\post.php on line 4457
Warning: Creating default object from empty value in D:\xampp\htdocs\wp-admin\includes\post.php on line 736
Notice: Undefined property: stdClass::$ID in D:\xampp\htdocs\wp-admin\post-new.php on line 67
Notice: Undefined property: stdClass::$post_status in D:\xampp\htdocs\wp-admin\edit-form-blocks.php on line 82
Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1426
Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-includes\taxonomy.php on line 245
Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-includes\taxonomy.php on line 248
Notice: Trying to get property 'labels' of non-object in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1502
Notice: Trying to get property 'attributes' of non-object in D:\xampp\htdocs\wp-admin\includes\meta-boxes.php on line 1502
Notice: Undefined property: stdClass::$post_type in D:\xampp\htdocs\wp-admin\edit-form-blocks.php on line 278
I have now set up a completely new blog in a sub directory of the original blog (same XAMPP/PHP/MariaDB-installation but new db). I just created a folder “/test”, copied a fresh copy of wordpress into it, configured the wp-config-File and voilà, this works fine. I guess I will have to set it all up new over the weekend and migrate the 13 sites…
It will be a lot of work but at least I know how I can potentially solve the issue.
Thanks never the less! I’m still open to ideas! 🙂
kind regards
Roman
Quick update with additional info: the weird error messages I got inside of dropdown menus and text field forms within my themes were definitely a problem with PHP 8. With the switch to PHP 7.4 the just vanished.
Example of an error message (sorry German): “Deprecated: attribute_escape ist seit Version 2.8.0 veraltet! Benutze stattdessen esc_attr(). in D:\xampp\htdocs\wp-includes\functions.php on line 5211”