Cornerstone does not load

Hi support team,
I’ve been working on this site but suddenly cornerstone won’t load.
Upon checking the forum I updated php version 7.1 to 7.2 and X, Cornerstone as well as Wordpress are up to date.
Can you help me out, please? I can’t go on working.

Thanks!

Hello There,

Thanks for writing in! I have logged and the credentials were not helpful enough. It has only a very limited privileges. I have inspected the site and it turns out that you inserted a JS code that caused an error on the page. Please updated it and use this instead:

// Posttitel unter featured image
(function($) {
   $('.single-post .entry-header').insertAfter('.single-post .entry-featured');
})(jQuery);

jQuery(".single-video_beitrag .entry-header").appendTo(".entry-featured");

Hope this helps. Please let us know how it goes.

Thank you, I updated the JS in the customizer, but that did not help with Cornerstone.

Sorry - I changed your privileges!

Hi there,

Cornerstone is working just fine on your site. Please purge all cache and try again.

Thanks.

Purged the cache, tried it on different devices and browsers - same result.
There appears an Error message that disapears too fast to read before Cornerstone tries to load.
Can you check again. I need to keep on working on the site and right now it is impossible.

Thanks

Hi there,

It also works on my end, I can edit them. But yes, sometimes it won’t load. I also noticed a lot of errors in the console. Would you mind providing your FTP login credentials in a secure note?

For the meantime, please make sure your debug is off by setting WP_DEBUG to false in your site’s wp-config.php. There are many warnings appearing which may be affecting the ajax responses.

Thanks!

There was no wp_debug in the wp_config.php. But I found this in the wp_config_sample.php file and copied into the wp_config.php:
define('WP_DEBUG', false);

was that right? There is still an Error message appearing. Here is the FTP login

Same thing seems to happen on the other site I_m working on. It runs on the same server. Cornerstone not loading

I am having the same issue. I have made sure config files have:

: made sure latest current x theme update
: latest wordpress udate
: ensured wp-config memory is correct
: ensured debug is correct as per : define(‘WP_DEBUG’, false);
: updated php version to 7.2
: turned off/disabled all plugins

How can i check js errors? I dont know what else to try

SOLVED- for me:

  • i knew our web host was doing lots of changes re security so it know makes sense

FIX:

: my cs-vendor file was missing

downloaded new zip of X and then cornerstone, unziped cornerstone- FTP added to wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js

Hope this solves it for anyone else-

Hi,

It’s related to this issue

If your host is running a security software it will most likely that the file will be deleted again.

Please contact your host and request to white list that file.

Thanks

Thank you. I contacted the provider

The info was that normally files are not deleted, but it is possible that it can not be executed.
can you tell me where the file is located? or check the access privilege? if it is 200 - this was set by the scanner and has to be set to 755. If that is not the case than it has to be another problem.

I’m afraid I can not tell you wich Error Message appers on the page before loading Cornerstone, because it dissapears too fast.

Thank you

I found the location and changed the execution privilege to 755 to both websites.
On one site Cornerstone is loading after a while. on the other there still appears this Error Message and Cornerstone does not load…

Could this still be the problem?

I’m having this issue, as well. Wp_debug is set to false and I just installed the new update you guys put out. Is there an ETA for when there will be a solution, or is there anything else I can try other than what’s listed above?

Hi There,

We have already reported to white-list cs-vendor.js file. Usually security experts will review it, so there will be a slight delay as well.

Thanks!

Can you elaborate what that means? Will there be an update or what can we do? How long will it take untill we can go on working on our sites?

Hi There,

Sorry for the confusion, I did check your site and the cs-vendor.js is loading fine, so that is not your issue.

The error that we are seeing when you load the Cornerstone and disappears too fast, it was this:

Warning: count(): Parameter must be an array or an object that implements Countable in /......./wp-content/plugins/cornerstone/includes/classes/app/class-app-boot.php on line 35

That is actually a bug with PHP 7.2 and it was on our issue tracker.

However, like Rad and Bappi above, I was able to open your page in Cornerstone (see screenshot), this means that more likely the issue (can’t open the Cornerstone) is isolated on your end. Would you mind using your browser’s incognito/private mode? where it has no caching and add-ons running.

Thanks,

I did as you advised, but the problem occures also in incognito mode.

Your secure note was empty.

I’m really desperate. Is there another solution? My client is getting impatient.

Hi there,

I checked the website you gave the information, it is also working ok for me and I can access Cornerstone, it has an error at the first load but then the page shows and I could edit the homepage with no problem.

I used the Google Chrome browser.