throws fatal error, conflicts with Divi after php upgrade to 8
-
After upgrading my site from PHP7.4 to PHP8 I could not edit Divi pages. After deleting all plugins and reactivating one-by-one I found out that when I activate WP Main Child and then try to activate Popup Builder Pro it throws the fatal error below and cannot be activated. If I deactivate WP Main Child and then activate Popup Builder Pro it conflicts with Divi Theme and prevents me from editing pages and posts.
See error below:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function MainWP\Child\MainWP_Child_Actions::callback_activate_plugin(), 1 passed and exactly 2 expected in /home/angiebell/www/www/wp-content/plugins/mainwp-child/class/class-mainwp-child-actions.php:402 Stack trace: #0 [internal function]: MainWP\Child\MainWP_Child_Actions->callback_activate_plugin(‘popup-builder-e…’) #1 /home/angiebell/www/www/wp-content/plugins/mainwp-child/class/class-mainwp-child-actions.php(150): call_user_func_array(Array, Array) #2 /home/angiebell/www/www/wp-includes/class-wp-hook.php(308): MainWP\Child\MainWP_Child_Actions->callback(‘popup-builder-e…’) #3 /home/angiebell/www/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #4 /home/angiebell/www/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/angiebell/www/www/wp-content/plugins/popup-builder-gold/classes/SGPBExtensionsConnector.php(235): do_action(‘activate_plugin’, ‘popup-builder-e…’) #6 /home/angiebell/www/www/wp-content/plugins/popup-builder-gold/classes/SGPBExtensionsConnector.php(153): SGPBExtensionsConnector->sgRunActivatePlugin(‘popup-builder-e…’) #7 /home/angiebell/www/www/wp-content/plugins/popup-builder-gold/popup-builderPro.php(71): SGPBExtensionsConnector->activate(true) #8 /home/angiebell/www/www/wp-includes/class-wp-hook.php(308): sgPopupActivate(”) #9 /home/angiebell/www/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #10 /home/angiebell/www/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /home/angiebell/www/www/wp-admin/plugins.php(194): do_action(‘activate_popup-…’) #12 {main} thrown in?/home/angiebell/www/www/wp-content/plugins/mainwp-child/class/class-mainwp-child-actions.php?on line?402
- The topic ‘throws fatal error, conflicts with Divi after php upgrade to 8’ is closed to new replies.