• Resolved pollame78

    (@pollame78)


    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.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @pollame78 it looks like this other plugin is incorrectly overriding the global $post object, breaking the default flow in WordPress.

    I’ll add the change, but it would be better if the other plugin would not break core WordPress functionality of course.

    It will be included with the 7.0 update.

    Thread Starter pollame78

    (@pollame78)

    While updating, I encountered the same issue. Could you incorporate the fix before version 7? Thank you.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @pollame78,

    The described change will be implemented in version 7 of the plugin, but not in an update before that one.

    Kind regards, Jarno

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error Feed RSS’ is closed to new replies.