PHP Notice in PHP 7.0.x
-
Hey!
I’m using version 1.2.6 of the plugin and get the following PHP notice for PHP 7.0.x and 7.1.x:
Notice: Use of undefined constant PLUGIN_FILE_PATH – assumed ‘PLUGIN_FILE_PATH’ in /wp-content/plugins/woo-preview-emails/classes/class-woocommerce-preview-emails.php on line 66Also because of that the css and js added by the plugin breaks.
<link rel=’stylesheet’ id=’woo-preview-email-select2-css-css’ href=’/wp-content/plugins/assets/css/select2.min.css?ver=4.7.5′ type=’text/css’ media=’all’ />I tried to create a Github issue but the plugin there is out of date with version 1.1.
Greetings
derRALF
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP Notice in PHP 7.0.x’ is closed to new replies.