Can't get into the admin console after migrating to new server
-
Hi
I migrated the forum to a new server, everything seemed to be working fine until it started giving me the error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 4864 bytes) in /home/neworder/public_html/blog/wp-admin/includes/plugin.php on line 729
The line 729 has:
$protected = array( ‘_wp_attached_file’, ‘_wp_attachment_metadata’, ‘_wp_old_slug’, ‘_wp_page_template’ );I had installed the maintenance-mode, and I have suspitious that this is what broke the forum.
If I remove the plugin it then gives then error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 19456 bytes) in /home/neworder/public_html/blog/wp-admin/includes/post.php on line 1158
This line has:
$content .= ‘<p class=”hide-if-no-js”>‘ . esc_html__( ‘Remove featured image’ ) . ‘</p>’;
}I tried to restore the blog file-system from the old server and also to restore the database from the old server, but still it gives me the same error.
- The topic ‘Can't get into the admin console after migrating to new server’ is closed to new replies.