• Resolved HJ Smit

    (@hajeesmit)


    Hi, the latest version (6.5.0) is producing the following errors on our site. Reverting to 6.4.7 seems to solve the issue.

    Are there any other users experiencing problems?

    in /var/www/vhosts/domain.com/site.com/wp-content/plugins/complianz-gdpr/class-document.php on line 3074
    
    Call stack:
    
    property_exists()
    wp-content/plugins/complianz-gdpr/class-document.php:3074
    cmplz_document::revert_divs_to_summary()
    wp-includes/class-wp-hook.php:308
    Fatal error: Uncaught Error: property_exists(): Argument #1 ($object_or_class) must be of type object|string, int given
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter HJ Smit

    (@hajeesmit)

    It was a combination of our own code and this update. Resolved

    Hello, I have the same error here. How did you solve it?

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @maigret,

    Are you experiencing this behavior with the latest version of the plugin (6.5.2)? If not, could you try updating to that version?

    Let me know about your findings. Kind regards, Jarno

    Hi @jarnovos, yes we still have this issue with latest version. So I revert back for now. It seems to be conflicting with a custom function in my theme creating a custom excerpt for posts in a loop.

    @jarnovos This persists on v6.5.2 of the Premium plugin

    Failed to open stream: No such file or directory in /web/app/plugins/complianz-gdpr-premium/pro/config/includes.php?on line?23

    The language folders in /complianz-gdpr-premium/pro/config/documents are all in uppercase. This causes a fatal error on servers which are case sensitive.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @andreschembriniu,

    We would be happy to help, although this seems to be an entirely different message than the one that had been reported in this thread.

    Additionally, your question concerns the Premium plugin, and we may only discuss the Free plugin on the WordPress Forums.

    Please contact us via support(at)complianz.io and attach these logs, and we’re glad to assist further.

    Kind regards, Jarno

    Hello,

    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 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP: Fatal error’ is closed to new replies.