• Resolved sizilianischekueche

    (@sizilianischekueche)


    Hi Guys,

    I’m having an issue after updating complianz to the last version. I’m not able to login anymore and I cannot display the website:

    html/sizilianischekueche/wp-content/plugins/complianz-gdpr/functions.php on line 54

    Can you please share a working code to replace the one on the php file?

    Thanks

    BR

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @sizilianischekueche I can’t reproduce the issue, can you share the exact php error you have so I can take a look? What PHP and WordPress version are you using?

    Tomas Frank

    (@franktomas)

    Same error on different website

    Full log is:

    Fatal error: Uncaught Error: Class "COMPLIANZ" not found in /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-content/plugins/complianz-gdpr/functions.php:54 Stack trace: #0 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-content/plugins/complianz-gdpr/functions.php(2867): cmplz_get_option() #1 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-content/plugins/complianz-gdpr/complianz-gpdr.php(59): require_once('/home/848370.cl…') #2 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-settings.php(462): include_once('/home/848370.cl…') #3 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-config.php(111): require_once('/home/848370.cl…') #4 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-load.php(50): require_once('/home/848370.cl…') #5 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-admin/admin.php(34): require_once('/home/848370.cl…') #6 /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-admin/index.php(10): require_once('/home/848370.cl…') #7 {main} thrown in /home/848370.cloudwaysapps.com/tdcxjgvbzr/public_html/wp-content/plugins/complianz-gdpr/functions.php on line 54


    WP 6.3.1 PHP 8.2.15

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @franktomas @sizilianischekueche strange, not sure how to reproduce the issue. Somehow the Complianz class is not loaded yet, but the cmplz_get_option function is already called.

    Can you try this version, where it checks for the COMPLIANZ class?
    https://github.com/really-simple-plugins/complianz-gdpr

    Tomas Frank

    (@franktomas)

    @rogierlankhorst version from GIT seems to work.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    It may be related to a translation configuration, which multilanguage plugin are you using?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I have reverted the production version to 6.5.6 until we’ve found the problem.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @franktomas thanks for confirming. I’ll wait for one or two more confirmations, then will release the fix. Thanks for helping.

    Thread Starter sizilianischekueche

    (@sizilianischekueche)

    the new functions.php is now working – thanks!

    Thread Starter sizilianischekueche

    (@sizilianischekueche)

    thanks

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @sizilianischekueche great, thanks for confirming!

    Tomas Frank

    (@franktomas)

    Website in our case using WPML for multilanguage

    buondioz

    (@buondioz)

    Same problem here with with the 7.0.0 update, php version 8.2, wpml 4.6.9.
    We reverted to the last stable until there will be a working version confirmed.

    Releasing a major update without proper testing is really really bad practice, we are considering to move to another plugin.

    martinellimarco

    (@martinellimarco)

    @rogierlankhorst we too are using WPML if that’s relevant. The patch on github works fine.

    destinoexterior

    (@destinoexterior)

    Same problem here… WPML site too. Going back to 6.5.6 resolves the issue…

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Thanks all for your input. The patch is now confirmed multiple times. We will be releasing it as 7.0.1 soon, after some additional tests. We have tested with WPML, but possibly this is a combination of a specific integration with WPML that caused the issue.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Fatal Error after update on line 54 functions.php’ is closed to new replies.