PHP 8 error and solution
-
Hi, today I changed a website to PHP 8.0, and the admin panel threw me an error:
Fatal error: Uncaught Error: Undefined constant “GTM4WP_OPTION_INCLUDE_REMARKETING”
in /htdocs/wp-content/plugins/complianz-gdpr-premium/integrations/plugins/google-tagmanager-for-wordpress.php on line 84
I fixed the file with aif ( defined( 'GTM4WP_OPTION_INCLUDE_REMARKETING' ) ) {
block around that code and the previous not checked constant.
Could you fix that error to be able to have it fixed in the next version?
Many thanks for considering my request.
Kind regards, Carlos Longarela.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP 8 error and solution’ is closed to new replies.