Stop ignoring us. - by Abigail Haughie - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 2 years, 12 months ago ago by Olga Barlow

  • Avatar: Abigail Haughie
    Abigail Haughie
    Participant
    April 21, 2021 at 23:23

    We have so many errors on our site and it is all related to your theme. Please give me a direct point of contact. Here are all of the errors.

    2 PHP Fatal error: Uncaught Error: Call to undefined function is_shop() in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php:49\nStack trace:\n#0 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(294): add_slug_to_body_class(Array)\n#1 /nas/content/live/rubelstg/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)\n#2 /nas/content/live/rubelstg/wp-includes/post-template.php(836): apply_filters(‘body_class’, Array, Array)\n#3 /nas/content/live/rubelstg/wp-content/themes/royal/framework/theme-functions.php(608): get_body_class()\n#4 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(292): etheme_load_admin_styles(”)\n#5 /nas/content/live/rubelstg/wp-includes/class-wp-hook.
    php(316): WP_Hook->apply_filters(NULL, Array)\n#6 /nas/content/live/rubelstg/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#7 /nas/content/live/rubelstg/wp-admin/admin.php(175): do_action(‘admin_init’)\n#8 /nas/content/live/rubelstg/wp-admin/index.php(10): require_once(‘/nas/content/li…’)\n#9 {main}\n thrown in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php on line 49
    1 PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /nas/content/live/rubelstg/wp-admin/includes/plugin-install.php:580\nStack trace:\n#0 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(287): install_plugin_information(”)\n#1 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)\n#2 /nas/content/live/rubelstg/wp-includes/plugin.php(478): WP_Hook->do_action(Array)\n#3 /nas/content/live/rubelstg/wp-admin/plugin-install.php(70): do_action(‘install_plugins…’)\n#4 {main}\n thrown in /nas/content/live/rubelstg/wp-admin/includes/plugin-install.php on line 580
    1 PHP Fatal error: Uncaught Error: Call to undefined function is_shop() in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php:49\nStack trace:\n#0 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(294): add_slug_to_body_class(Array)\n#1 /nas/content/live/rubelstg/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)\n#2 /nas/content/live/rubelstg/wp-includes/post-template.php(836): apply_filters(‘body_class’, Array, Array)\n#3 /nas/content/live/rubelstg/wp-content/themes/royal/framework/theme-functions.php(608): get_body_class()\n#4 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(292): etheme_load_admin_styles(”)\n#5 /nas/content/live/rubelstg/wp-includes/class-wp-hook.
    php(316): WP_Hook->apply_filters(false, Array)\n#6 /nas/content/live/rubelstg/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#7 /nas/content/live/rubelstg/wp-admin/admin-ajax.php(45): do_action(‘admin_init’)\n#8 {main}\n thrown in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php on line 49
    1 PHP Fatal error: Uncaught Error: Call to undefined function is_shop() in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php:49\nStack trace:\n#0 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(294): add_slug_to_body_class(Array)\n#1 /nas/content/live/rubelstg/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)\n#2 /nas/content/live/rubelstg/wp-includes/post-template.php(836): apply_filters(‘body_class’, Array, Array)\n#3 /nas/content/live/rubelstg/wp-content/themes/royal/framework/theme-functions.php(608): get_body_class()\n#4 /nas/content/live/rubelstg/wp-includes/class-wp-hook.php(292): etheme_load_admin_styles(”)\n#5 /nas/content/live/rubelstg/wp-includes/class-wp-hook.
    php(316): WP_Hook->apply_filters(NULL, Array)\n#6 /nas/content/live/rubelstg/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#7 /nas/content/live/rubelstg/wp-admin/admin.php(175): do_action(‘admin_init’)\n#8 /nas/content/live/rubelstg/wp-admin/plugins.php(10): require_once(‘/nas/content/li…’)\n#9 {main}\n thrown in /nas/content/live/rubelstg/wp-content/themes/royal-child/functions.php on line 49

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 22, 2021 at 08:50

    Hello,

    The fatal error appears because of your changes in child theme https://prnt.sc/11utpui
    We are not responsible for changes that you do in the child theme, so check the code that you added there https://prnt.sc/11utpui
    Do you have the mentioned fatal error when enabling the parent theme?

    Regards

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.