WordPress caught an error with one of your plugins, Royal Core

Solved7 replies2 participantsUpdated by Olga Barlow

  • Avatar: Mikewise
    Mikewise
    Participant

    Hi,
    My site is no longer online.. I’ve received this message from WP, could you pls help me out? Kind Regards Mike

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.6
    Current theme: Royal Child (version 0.0.1)
    Current plugin: Royal Core (version 1.1.7)
    PHP version 7.4.13

    Error Details
    =============
    An error of type E_ERROR was caused in line 227 of the file /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-content/plugins/royal-core/inc/shortcodes/etheme_products.php. Error message: Uncaught Error: Call to undefined function et_get_static_blocks() in /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-content/plugins/royal-core/inc/shortcodes/etheme_products.php:227
    Stack trace:
    #0 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-content/plugins/royal-core/inc/shortcodes.php(79): require_once()
    #1 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(287): royal_shortcodes_init()
    #2 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #3 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-includes/plugin.php(484): WP_Hook->do_action()
    #4 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-settings.php(557): do_action()
    #5 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-config.php(89): require_once(‘/mnt/web414/a2/…’)
    #6 /mnt/web414/a2/93/510204193/htdocs/WordPress_SecureMode_01/wp-load.php(37): require_once(‘/mnt/web414/a2/…’)

    7 Answers

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Could you, please, provide us with WP Dashboard and FTP access to your site? It seems that you disable the Static Blocks module in Royal theme options and it caused the mentioned error.

    Regards

    Avatar: Mikewise
    Mikewise
    Participant

    Hi Olga, put all the info in the private content area, thanks in advance, rgs Mike

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Parent theme was broken https://prnt.sc/xdi8zh and did not include the necessary files and folders. It was the reason of the fatal error.

    Regards

    Avatar: Mikewise
    Mikewise
    Participant

    Hi Olga, Thanks it works again.. but the site is extremely slow at the moment.. any idea what could be the cause of that? Rgs Mike

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    Optimize your images because page size is huge https://prnt.sc/xie1zi
    You can use tinypng tool https://tinypng.com/
    Enable Lazy loading for the sliders you use https://prnt.sc/xie7fw
    I have enabled it for few of them and it improved the speed a lot https://prnt.sc/xieeu2 So, enable it for all the sliders you have.

    Regards

    Avatar: Mikewise
    Mikewise
    Participant

    Thanx again.. will close this topic now.. rgs

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    Hello,

    You are welcome.

    Regards

The issue related to '‘WordPress caught an error with one of your plugins, Royal Core’' has been successfully resolved, and the topic is now closed for further responses