Archived topic
Issue to Edit Pages and Errors on Console
11 replies · Started by Joao Vicente on September 6, 2019
Hi, when I click on edit page, it shows a blank screen with a lot of errors in console.
So I activated Wordpress Classic Editor and I was able to edit the page. But even though Yoast Free its not working anymore with GP.
When I change theme everything works again.
I made a video to make it clear https://www.loom.com/share/deee663786d048649d32543682c005f3
Im using shared host of Hostgator, as I have always used.
I also already tried to deactivate all plugins, but without success.
Any help?
Tks!
Hi there,
Couldn't quite tell from the video but looks like a lot of errors are coming from the plugins.
Can you deactivate all plugins except GP Premium and Elementor to see if all the errors still exist?
Let me know :)
Yes I already deactivated all plugins except elementor and GP and all errors still there. do you want admin credentials?
Sure! You can send the dashboard access using Account Issue here:
https://generatepress.com/contact/
Please include the following information:
– The URL of this topic.
– Login URL.
– Username and password.
Please leave all plugins except GP Premium disabled for now.
Thanks!
i just sent, thanks!
Can you please disable all plugins except GP Premium?
Sorry we are not allowed to do that for you.
done, except elementor and gp premium (without elementor there is no website lol)
Weird. Have you modified WordPress core files at all?
No I didnt
Maybe installing child theme would be an option to solve that?
Child theme wouldn't help I don't think.
I've forwarded this issue to Tom. He will get back to you later :)
You have this custom function added into the theme functions.php file:
function defer_parsing_of_js ( $url ){
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
return "$url' defer ";
}
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
Does the issue go away if you remove it?