• The plugin is not compatible with php 8.0. Here it is the error:

    [04-Jan-2022 12:59:35 UTC] PHP Fatal error:  Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/social-login-woocommerce/includes/class-xoo-sl-easylogin.php:38
    Stack trace:
    #0 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/social-login-woocommerce/includes/class-xoo-sl-easylogin.php(38): in_array('login', '')
    #1 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(303): Xoo_Sl_EasyLogin->output_social_buttons('login', Array)
    #2 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #3 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /var/www/vhosts/quelquid.it/httpdocs/wp-content/themes/Divi-child/templates/easy-login-woocommerce/xoo-el-form.php(52): do_action('xoo_el_form_end', 'login', Array)
    #5 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/easy-login-woocommerce/includes/xoo-framework/class-xoo-helper.php(57): include('/var/www/vhosts...')
    #6 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/easy-login-woocommerce/includes/xoo-el-functions.php(199): Xoo_Helper->get_template('xoo-el-form.php', Array, '', false)
    #7 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/easy-login-woocommerce/templates/xoo-el-popup.php(36): xoo_el_get_form(Array)
    #8 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/easy-login-woocommerce/includes/xoo-framework/class-xoo-helper.php(57): include('/var/www/vhosts...')
    #9 /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/easy-login-woocommerce/includes/class-xoo-el-frontend.php(94): Xoo_Helper->get_template('xoo-el-popup.ph...')
    #10 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(303): Xoo_El_Frontend->popup_markup('')
    #11 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #12 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #13 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/general-template.php(3031): do_action('wp_footer')
    #14 /var/www/vhosts/quelquid.it/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-footer-template.php(18): wp_footer()
    #15 /var/www/vhosts/quelquid.it/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(216): require_once('/var/www/vhosts...')
    #16 /var/www/vhosts/quelquid.it/httpdocs/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(260): et_theme_builder_frontend_override_partial('footer', '', 'wp_footer')
    #17 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(305): et_theme_builder_frontend_override_footer(NULL)
    #18 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #19 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #20 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/general-template.php(82): do_action('get_footer', NULL, Array)
    #21 /var/www/vhosts/quelquid.it/httpdocs/wp-content/themes/Divi/404.php(19): get_footer()
    #22 /var/www/vhosts/quelquid.it/httpdocs/wp-includes/template-loader.php(106): include('/var/www/vhosts...')
    #23 /var/www/vhosts/quelquid.it/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...')
    #24 /var/www/vhosts/quelquid.it/httpdocs/index.php(17): require('/var/www/vhosts...')
    #25 {main}
      thrown in /var/www/vhosts/quelquid.it/httpdocs/wp-content/plugins/social-login-woocommerce/includes/class-xoo-sl-easylogin.php on line 38
Viewing 1 replies (of 1 total)
  • Thread Starter shaphiro

    (@shaphiro)

    The problem is related to the social login plugin extension and is due to my particular configuration. If in “Show Buttons on form” there are no form selected the fatal error take place.

    This particular configuration of mine is due to my customization of the plugin and I can change it. In any case, I think it may be useful to solve the possible problem.

Viewing 1 replies (of 1 total)

The topic ‘Php 8.0 Fatal Error’ is closed to new replies.