I have looked at other threads on this subject and they all seem to centre around one specific error code related to a plugin or theme however;
When I am trying to access pages from my Pinned to Perfection website via Wordpress dashboard I keep getting these messages.
The folder and line number varies and these are just two examples.
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 40 bytes) in /home/content/63/12112863/html/pinnedtoperfection/wp-includes/wp-db.php on line 1894
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 40 bytes) in /home/content/63/12112863/html/pinnedtoperfection/wp-includes/meta.php on line 837
I am using GoDaddy Hosting - Web - Deluxe - Linux - EU
and the site is on Version Wordpress 4.9
Any help gratefully received.
Solved! Go to Solution.
The error that you get most probably comes from your plugins (or theme), or in just some cases from the PHP edition you're using in your site. if a plugin code is not compatible let's say with php7, it will give you a similar fatal error.
What you need to do is,
a) in case you cannot access your website, you should connect through sFTP (https://codex.wordpress.org/Using_FileZilla) and rename the directory plugins (www/wp-content/plugins) to www/wp-content/plugins.hold. This action will automatically disable all your plugins, then you can log in and rename again the directory like it was before, and enable the plugins one by one.
b) in case that this, not a plugin problem, it will be theme problem, you can do the same as above in this time inside directory www/wp-content/themes ( and make it www/wp-content/themes.hold) that will disable all themes.
Then log in, rename again, and enable the theme again, if you get an error most probably there is an error in your theme, you should or, locate the error by enabling the wp_error_logs (google how to enable error logs in wordpress) or hire a dev to find and fix your theme or plugin!
Many thanks, i'll give your ideas a go and let you know the outcome! Fingers crossed and thanks again for taking the time to respond.