- This topic has 14 replies, 2 voices, and was last updated 5 years, 9 months ago by Mary Pearson.
-
AuthorPosts
-
July 3, 2018 at 10:51 am #614573Mary Pearson
I am seeing the following in my error_log.
[03-Jul-2018 16:06:01 UTC] PHP Notice: Undefined index: hook_suffix in /wp-admin/includes/class-wp-screen.php on line 209
Line 206 – 209
if ( $hook_name ) $id = $hook_name; else $id = $GLOBALS['hook_suffix'];
Is there something that I can do to fix this?
Thank you.
July 3, 2018 at 2:14 pm #614686TomLead DeveloperLead DeveloperIs there more to the error? That’s the root, but the error isn’t actually inside that WordPress file itself. There should be more to the stack.
July 3, 2018 at 2:24 pm #614692Mary PearsonThere are actually a lot of errors but most have to do with SEO Redirection plugin. If this is not enough information then I can wait until I hear back from SEO Redirection plugin and clear up all the errors with them. Then I’ll delete the error_log and start over again and see what new errors I have.
The only errors that are not SEO Redirection are:
[30-Jun-2018 17:37:57 UTC] PHP Notice: Undefined variable: mobile_padding_right in /home/best/public_html/best-content/plugins/gp-premium/sections/functions/generate-sections.php on line 215
[02-Jul-2018 23:48:26 UTC] PHP Notice: Undefined index: host in /home/best/public_html/wp-includes/canonical.php on line 461 [02-Jul-2018 23:48:26 UTC] PHP Notice: Undefined index: host in /home/best/public_html/wp-includes/canonical.php on line 462 [02-Jul-2018 23:48:26 UTC] PHP Notice: Undefined index: host in /home/best/public_html/wp-includes/canonical.php on line 462 [02-Jul-2018 23:48:26 UTC] PHP Notice: Undefined index: host in /home/best/public_html/wp-includes/canonical.php on line 463 [02-Jul-2018 23:48:26 UTC] PHP Notice: Undefined index: host in /home/best/public_html/wp-includes/canonical.php on line 465
[02-Jul-2018 12:14:54 UTC] PHP Notice: Array to string conversion in /home/best/public_html/wp-includes/class-wp.php on line 305 [02-Jul-2018 12:14:54 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /home/best/public_html/wp-includes/class-wp-query.php on line 736
July 3, 2018 at 2:38 pm #614698TomLead DeveloperLead DeveloperThe first notice is in GP Premium, however it shouldn’t exist as long as you’re using the latest version of the theme (2.1.3) and plugin (1.6.2).
The other ones might be coming from plugins. Worth deactivating them one by one to test.
July 3, 2018 at 2:59 pm #614721Mary PearsonI was using v2.1.2 theme – just updated. I will close this ticket until I have resolved all the SEO Redirection Plugin issues.
Thanks Tom.
July 3, 2018 at 7:03 pm #614796TomLead DeveloperLead DeveloperThat’s weird, what version of GP Premium?
July 3, 2018 at 7:22 pm #614814Mary Pearsonv1.6.2
July 4, 2018 at 10:01 am #615369TomLead DeveloperLead DeveloperThat’s strange. Do you have a child theme installed?
July 4, 2018 at 10:55 am #615423Mary Pearsonyes.
July 4, 2018 at 6:15 pm #615719TomLead DeveloperLead DeveloperCan you share the code inside the child theme functions.php?
July 4, 2018 at 6:20 pm #615724Mary PearsonI tried and got the following:
Access Denied – Sucuri Website Firewall
I’d be happy to give you access to the website if you tell me how I can do it privately.
July 4, 2018 at 6:24 pm #615726TomLead DeveloperLead DeveloperIs it a custom child theme?
You can just disable Sucuri for a moment while you get the code.
July 4, 2018 at 6:32 pm #615731Mary PearsonI thought Sucuri was on your side. I couldn’t see where I could disable it. They want me to submit a ticket or whitelist my IP but they don’t tell me where to whitelist it.
Don’t worry about it Tom. I closed the ticket and will wait until I hear back from SEO Redirection plugin re all the other errors. Once they are cleared up I will get back to this. Right now I’m just feeling overwhelmed. Sorry to have bothered you.
Thank you so much for trying to help.
July 4, 2018 at 6:37 pm #615732TomLead DeveloperLead DeveloperNo problem at all – let me know what you find out 🙂
July 4, 2018 at 6:37 pm #615733Mary PearsonFor sure. Thanks again!
-
AuthorPosts
- You must be logged in to reply to this topic.