A Problem On Front End of The Site Prevents Cornerstone From Loading

Hi Team,

I recently updated my cornerstone edition yesterday. Since the update I am not able to edit any pages anymore in cornerstone. I receive the following error message as mentioned in the title of this post.

*Aug 11 3:05PM
I noticed I am actually able to edit some pages; however, when trying to create a new page or edit the following page I am not able to : http://theperfectbeginning.net/user/

I have tried deactivating some plugins but no luck.

Hi there,

Thanks for writing in.

It’s not working because of this error

wp-lists.min.js?ver=4.8.1:1 Uncaught ReferenceError: ajaxurl is not defined

I checked and ajaxurl is correctly defined and initialized, I suspect that wp-lists functions are called before even the ajaxurl is defined. Hence, triggering that error. Usually, wp-lists is related to widgets, would you mind removing your widgets and test it if it’s going to fix this issue? I could do that but please backup your site first.

And if your hosting has a built-in cache system, then please make sure it’s inactive while we’re investigating :slight_smile:

Thanks!

Hi Team,
Sorry for late response. I am currently backing up the site. When this is completed I will remove the widgets, test, and give an update.

Thanks so much for helping me out with this error!

Team,

Thanks again so much for pinpointing the problem. I was able to fix the error by updating Wordpress itself to see if there were any PHP compatibility issues. After updating Wordpress things were working smoothly again.

Thank you for the awesome support as usual!

Glad to hear that. :slight_smile:

I just discovered there is a remaining problem that has me a bit stumped. I am using Ultimate Member in replace of Buddy Press. Whatever webpage is associated with the “User page” Cornerstone cannot edit the page. When I disassociate the page with the user functionality I am able to edit the page using Cornerstone once again.

Ideally I would just edit the User page when I unattached it from the ultimate member functionality; however, staff members will need to edit this as well (to give individual alerts to site members). They won’t know how to bypass the hiccup without training.

Below is where to find the user page setup in Ultimate Member:

It’s possible that your User page does not use wp_content so Cornerstone could not edit it. Try going to X > Cornerstone and choose the post type your plugin is using in Allowed Post Types. If the post type is not available or will not work with Cornerstone, regretfully, you need a third party developer to integrate both plugins.

Thanks.

Thank you this completely makes sense. Thanks for following up!

You’re welcome!