The constants are PHP constants. The issue may have been caused by changing the PHP version. This is an issue which needs to be fixed in your hosting environment and cannot be fixed in the plugin.
I understand. I’m having the issue in AMPPS actually, by the way i have php 5.6 all libraries on.
The best thing would be, before using the constants, to always check them
if(!defined(CONSTANT_HERE)){
define(“CONSTANT_HERE”, “value”);
}
so no errors will appear.
I always used the plugin since 3 years in local, same environment, and never saw these errors. Worth give it a try…
The theme check will not work without these constants defined by PHP. We could have better error messages in such a case but it still does not solve your root problem.
There have been no changes to this code in some time. You need to make sure the php5-tokenizer
package is installed.