Cornerstone does not load properly

Hi,

My website/domain has been migrated from provider A to B.

Everything is fine. But Cornerstone is ‘spinning’, the plugin does not load properly, so I can’t make any website changes right now.

I have read all the advice on this forum (disable third-party plugins, add a few lines to wp-config.php, et cetera), but it doesn’t solve my problem: the ball keeps spinning.

I’m using the latest version of X and Cornerstone.

Can you help me out, please?

Peter

Hi there,

Thanks for writing in.

Sure, but first, I like to check your site. Please provide your site’s URL and admin login credentials in a secure note.

For the meantime, please install better search replace plugin and replace your old URL with the new one (from all tables).

Thanks!

1 Like

Hi Peter,

Thank you for the credentials, I did checked the site and I saw some invalid characters that is causing the issue. This usually character usually shows up when you have migrated the site to a lower version of MYSQL. Please confirm that you have PHP and MySQL version 5.6 or higher (Wordpress Requirements). I tried to confirm that myself but the site does not allow me to install a plugin (WP-ServerInfo), please contact your hosting on how you can confirm/update your PHP and MySQL version.

And please purge and deactivate all your site’s caching feature while we are still dealing with this issue. It seems your site is under Varnish-Cache.

Let us know how it goes,
Cheers!

Hi Rad,

As you sure do know this stuff is quite technical for a general user, therefore I followed your advice and contacted my hosting partner.

They are looking into it right now, I wil keep you informed!

Regards,

Peter

Hi Rad,

Varnish cache has been disabled.

I can confirm that the website has PHP 7.0 and that MySQL 5.7 runs the database.

Best regards,

Peter

Hi Peter,

Those special character that I show on screenshot above is still there, please re-install the Cornerstone. To do this, navigate to Plugins panel, deactivate and delete the Cornerstone. Then navigate to X > Overview and X will automatically install the Cornerstone from there. Then navigate back the Plugins panel and activate the Cornerstone, if its not activated already.

We usually do this Cornerstone re-installing ourselves but I’m afraid your site won’t allow me to install a plugin.

Let us know how it goes,
Cheers!

Hi Friech,

Thanks for the suggestions. I deactivated and deleted the Cornerstone plugin and reinstalled and activated the Cornerstone again, but it doesn’t make a difference.

Best regards,

Peter

Hi there,

Thank you for your message. I tried to access the WordPress dashboard of your website but unfortunately, I get this error:

Kindly contact the hosting service provider to follow up the case and fix the issue.

Thank you.

Hi Christopher,

Thank you for your reply.

I do not get this message when I log in. Maybe there has been a temporarily hick-up but it seems to be ok right now.

Peter

Hi Peter,

Upon checking, I am getting the following error on the console:
Failed to load resource: the server responded with a status of 503 (Service Unavailable) for cornerstone-endpoint
And this too:
(index):4 Uncaught TypeError: $ is not a function at (index):4

Please try updating the following JS code:



$(window).scroll(function(){
  var bel = $("#bel").offset().top;
  var value = 160;
  	if (bel>value){
  	$("#bel").css({"display":"none"});
  } else {
    $("#bel").css({"display":"initial"});             
                 }
            });

To this:



jQuery(window).scroll(function($){
  var bel = $("#bel").offset().top;
  var value = 160;
  	if (bel>value){
  	$("#bel").css({"display":"none"});
  } else {
    $("#bel").css({"display":"initial"});             
                 }
            });

Then check in with your hosting provider regarding the 503 service unavailable error. They can give you more details of the issue from the site error log.

Thank you, Lely.

With your help I managed to fix the JS code.

I have contracted the provider and they are willing to change the settings for my account but like to know what exactly is needed.

In the meanwhile it’s getting better: the cornerstone plugin does start now but after a while he stops again and a error pops up. You can see this error on the screenshot.

What is the next step we have to take to solve the issue?

Kind regards,

Peter

Hi Peter,

Let’s fixed this issue first:
Failed to load resource: the server responded with a status of 503 (Service Unavailable) Errors on the console might disrupt has Cornerstone works.