JKPro
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] PHP: Fatal errorHello,
I have the same fatal error on my site:Fatal error: Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, int given in /var/www/vhosts/###.de/httpdocs/wp-content/plugins/complianz-gdpr/class-document.php:3074 Stack trace: #0 /var/www/vhosts/###.de/httpdocs/wp-content/plugins/complianz-gdpr/class-document.php(3074): property_exists() #1 /var/www/vhosts/###.de/httpdocs/wp-includes/class-wp-hook.php(324): cmplz_document->revert_divs_to_summary() #2 /var/www/vhosts/###.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /var/www/vhosts/###.de/httpdocs/wp-includes/formatting.php(3992): apply_filters() #4 /var/www/vhosts/###.de/httpdocs/wp-includes/class-wp-hook.php(324): wp_trim_excerpt() #5 /var/www/vhosts/###.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #6 /var/www/vhosts/###.de/httpdocs/wp-includes/post-template.php(434): apply_filters() #7 /var/www/vhosts/###.de/httpdocs/wp-content/themes/###/page.php(63): get_the_excerpt() #8 /var/www/vhosts/###.de/httpdocs/wp-includes/template-loader.php(106): include('...') #9 /var/www/vhosts/###.de/httpdocs/wp-blog-header.php(19): require_once('...') #10 /var/www/vhosts/###.de/httpdocs/index.php(17): require('...') #11 {main} thrown in /var/www/vhosts/###.de/httpdocs/wp-content/plugins/complianz-gdpr/class-document.php on line 3074
As @maigret wrote it’s I’m creating a loop in the template (setup_postdata($post);) and using get_the_excerpt();
Any idea how to fix this?
Thanks!
Viewing 1 replies (of 1 total)