Reputation: 4438
I'm having the following problem, but I'm not able to figure out how to solve it, I also tried to comment on the define but it doesn't solve the problem.
Error:
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /storage/.../public_html/wp-content/plugins/themehunk-customizer/featuredlite/inc/constant.php on line 3
Deprecated: define(): Declaration of case-insensitive constants is deprecated in /storage/.../public_html/wp-content/plugins/themehunk-customizer/featuredlite/inc/constant.php on line 4
My doubt could be versions problems from the one used by wordpress and the hosting where the site is loaded?
Upvotes: 0
Views: 2890
Reputation:
In PHP 7.3: Deprecate calling define() with third parameter true see here
Upvotes: 1
Reputation: 334
Seems like you are using PHP 7.3 And Defining case-insensitive constants is deprecated as of PHP 7.3.0.
I don't see any workaround on this but you can downgrade your PHP to 7.2 to make it work.
Upvotes: 0