Fatal error Feed RSS | WordPress.org

[ad_1]

PHP Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, int given in /public_html/wp-content/plugins/complianz-gdpr/class-document.php:3074

I’m receiving this fatal error with the Complianz plugin, and the last version that doesn’t produce the error is 6.4.7. I’ve resolved it by modifying line 3074 of the file with this code:

if (!is_object($post) || !property_exists($post, 'ID')) {

Can you apply this to the plugin so I don’t have to do it with every update? Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer