@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?
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
@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
@rogierlankhorst version from GIT seems to work.
It may be related to a translation configuration, which multilanguage plugin are you using?
I have reverted the production version to 6.5.6 until we’ve found the problem.
@franktomas thanks for confirming. I’ll wait for one or two more confirmations, then will release the fix. Thanks for helping.
the new functions.php is now working – thanks!
@sizilianischekueche great, thanks for confirming!
Website in our case using WPML for multilanguage
Same problem here with with the 7.0.0 update, php version 8.2, wpml 4.6.9.
we disabled the plugin until there is a working version confirmed.
@rogierlankhorst we too are using WPML if that’s relevant. The patch on github works fine.
