Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1178915

    Hi,
    My site hosted on Plesk instance & was infected so I cleaned it up using ImunifyAV
    Now when logging in I get In the Header the following Warning:
    “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_maybe_grant_site_health_caps’ not found or invalid function name in /var/www/vhosts/pas-gon.com/httpdocs/wp-includes/class-wp-hook.php on line 286”
    and this one as well:
    “Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_maybe_grant_resume_extensions_caps’ not found or invalid function name in /var/www/vhosts/pas-gon.com/httpdocs/wp-includes/class-wp-hook.php on line 288”

    Can you please suggest what should I do in order to resolve It?

    Awaiting your replay
    Kind Regards
    Gal

    #1179283

    Hey vntr,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1179302
    This reply has been marked as private.
    #1179303
    This reply has been marked as private.
    #1179700

    Hi Gal,

    Thanks for that, I’m not sure where the theme is located though. I can’t see any folders called enfold here? /httpdocs/wp-content/themes

    Did you try to completely delete the theme folder then upload a fresh copy from your Themeforest account?

    Best regards,
    Rikard

    #1179714
    This reply has been marked as private.
    #1180167

    Hi,

    Thanks for that. I see that you are running a very old version of the theme there, could you try to download the latest version from your Themeforest account, then upload that to a new folder via FTP? You can then rename that folder what the current parent theme folder is named.

    Best regards,
    Rikard

    #1180214
    This reply has been marked as private.
    #1180215
    This reply has been marked as private.
    #1180586

    Hi,

    This looks to be the problem:

    Fatal error: Call to undefined function avia_header_class() in /var/www/vhosts/pas-gon.com/httpdocs/wp-content/themes/pasgon-child/header.php on line 12
    The site is experiencing technical difficulties.

    What’s on line 12 in header.php in your child theme? Did you try to replace that file with the original file from the parent and then add your modification back into that file?

    Best regards,
    Rikard

    #1180795
    This reply has been marked as private.
    #1181962

    Hi,

    Thank you for the update.

    These are the code lines I have in child theme header.php
    Lines 10-12:

    The child theme contains an older version of the header.php file. Please get a fresh copy of the file from the parent theme and replace the one in the child theme. You have to update the footer.php file as well.

    Best regards,
    Ismael

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.