- This topic has 5 replies, 2 voices, and was last updated 4 years, 3 months ago by .
-
Topic
-
Hi, I have problem with redeclaring class. I use metabox built-in theme plugin and after installing WPML pluging fatal error occurs. All files included using “include_once” inside “class_exist()” condition but error still occurs.
if( !class_exists('RWMB_Autoloader') ) include_once( 'inc/meta-box/meta-box.php' );
Fatal error: require(): Cannot redeclare class rwmb_autoloader in /usr/home/example.com/web/wp-content/plugins/brooks_core/inc/meta-box/inc/autoloader.php on line 179
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.