-
AuthorPosts
-
January 28, 2020 at 9:31 am #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
GalJanuary 29, 2020 at 6:11 am #1179283Hey 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,
RikardJanuary 29, 2020 at 7:22 am #1179302This reply has been marked as private.January 29, 2020 at 7:25 am #1179303This reply has been marked as private.January 30, 2020 at 6:28 am #1179700Hi 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,
RikardJanuary 30, 2020 at 7:28 am #1179714This reply has been marked as private.January 31, 2020 at 6:25 am #1180167Hi,
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,
RikardJanuary 31, 2020 at 10:51 am #1180214This reply has been marked as private.January 31, 2020 at 10:55 am #1180215This reply has been marked as private.February 2, 2020 at 5:26 am #1180586Hi,
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,
RikardFebruary 3, 2020 at 8:22 am #1180795This reply has been marked as private.February 6, 2020 at 6:35 am #1181962Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.