Fatal Error after site migration

Good Morning

I would be very greatful if you coud help me with the below error. I have recently migrated the site to a new URL but when I activate cornerstone i get this error. I have managed to get the site to load whilst cornerstone is activated but then the top bar either doesnt load or the admin section crashes. I think it refers to the menu in the error code. has anyone came across this before? I have tired deactivating and re-activiating my plug-ins but nothing seems to have worked.

The Error:

Fatal error: Uncaught Error: Call to a member function is_permalink_structure_valid() on null in /var/www/vhosts//httpdocs/wp-content/plugins/cornerstone/includes/classes/common/class-common.php:375 Stack trace: #0 /var/www/vhosts//httpdocs/wp-content/plugins/cornerstone/includes/classes/common/class-common.php(370): Cornerstone_Common->get_app_route_url() #1 /var/www/vhosts//httpdocs/wp-content/plugins/cornerstone/includes/classes/admin/class-admin.php(209): Cornerstone_Common->get_launch_url() #2 /var/www/vhosts//httpdocs/wp-content/plugins/cornerstone/includes/classes/admin/class-admin.php(188): Cornerstone_Admin->get_dashboard_menu_custom_items() #3 /var/www/vhosts//httpdocs/wp-includes/class-wp-hook.php(286): Cornerstone_Admin->dashboard_menu(’’) #4 /var/www/vhosts//httpdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(N in /var/www/vhosts/****/httpdocs/wp-content/plugins/cornerstone/includes/classes/common/class-common.php on line 375

Hi There,

Thanks for writing in! Did you follow our migration guide here (https://theme.co/apex/forum/t/cornerstone-content-builder-migration/126).

Try deleting your Cornerstone plugin directory manually which is located at
/httpdocs/wp-content/plugins/cornerstone/

Then head over to X -> Overview section and wait for few seconds to install it automatically.

Thanks!

Hello

When I delete cornerstone from the directory and then go to the overview page its gives me this message: Cornerstone has been installed, but could not be automatically activated. Please activate from the plugins page. Error Details.

When I click plugins page it sends me back to my old URL, any idea what is going on?

Many thanks

Hi there,

You might have missed to update the URLs on the site from the old URL to the new one.

Please try to use the Better Search Replace plugin and search for the old URL and replace it with the new one.

Let us know how it goes.

Hello,

Thank you for the response, I had already updated the URL’s so decided to delete X and re-upload which appears to have worked.

Many thanks

Great! Let us know if we could help with anything else.

Best regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.