Home Undefined constant after switch from PHP 7.0 to 7.2
Reply: 0

Undefined constant after switch from PHP 7.0 to 7.2

user927 Published in May 27, 2018, 3:33 am

my website hoster will soon switch all accounts from PHP 7.0 to PHP 7.2. So I installed a clone of my current WordPress installation in order to test it with PHP 7.2. When I have PHP 7.0 activated then everything works fine. But when I'm switching to PHP 7.2 I'm getting a weird error message from one of the plugins.

Warning: Use of undefined constant TABBER_TABS_DIR - assumed 'TABBER_TABS_DIR' (this will throw an Error in a future version of PHP) in /home/xeccbike/public_html/testing/wp-content/plugins/tabber-tabs-widget/tabber-tabs.php on line 31

30: / Set constant path to the plugin directory.
31: define( TABBER_TABS_DIR, plugins_url('tabber-tabs-widget/'));
33: // Load Language
34: load_plugin_textdomain('tabber-tabs-widget', false, TABBER_TABS_DIR . 'language');

Does anyone have an idea what that could be? Any hints are appreciated. Thanks


You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.309137 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO