Paul
Paul

Reputation: 4438

Wordpress Deprecated: define(): Declaration of case-insensitive constants is deprecated

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

Answers (3)

user10002372
user10002372

Reputation:

In PHP 7.3: Deprecate calling define() with third parameter true see here

Upvotes: 1

pippoBe
pippoBe

Reputation: 26

check that the "WP_DEBUG" entry in the "wp-config" file is "false".

Upvotes: 1

Adam abdul shakoor
Adam abdul shakoor

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

Related Questions