Updated to 6.7.5 Pro, Cornerstone dashboard goes to 404 page

Issue: After updated to 6.7.5 , as stated, the cornerstone dashboard goes to 404 page. I was previously on 6.6.X ( don’t remember the minor version. ) I tried reinstalling the pro theme manually, disabled all plug-ins, resaved the permalinks, emptied browser cache, updated to the latest Wordpress and logged in using incognito. Issue persists. I do not use CDN or site cache as it’s a new site that’s being developed. Note - I purchased a CSAI license and installed it prior to upgrading to 6.7.5.

Also, there seems to be a plugin conflict with Yoast. When using the Cornerstone editor, global components don’t display correctly on the page unless you toggle the visibility icon (the eyeball next to the component name) on and off. Once toggled, they display properly. However, if you then save the page Ubermenu ends up with extra spacing at top and bottom. Inspector shows a skip-nav around the menu creating the space. The Ubermenu conflict goes away when Yoast is inactive. Thanks!

Hello @11Studios,

Thanks for writing to us.

I tried to update the permalink settings and access the settings page, but it appears there is an issue with the .htaccess file. This type of error is often due to problems with the .htaccess file itself or the server configuration after changing WordPress permalinks. The issue could be related to a corrupted file or incorrect file permissions. To resolve this, I recommend renaming your current .htaccess file to create a backup, then generating a new one with the default WordPress rules and setting its permissions appropriately. Afterward, please check if the problem is resolved.

For detailed guidance on creating and configuring the .htaccess file, please refer to this documentation guide.

Hope it helps
Thanks

I removed all in the htaccess but the following code. The issue remains.
Permission is set to 0644. No changes to server configuration. PHP 8.3
All plugins are currently disabled except limited login and I dumped the cache folder from the uploads.

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Edit: I’ve checked and the php extensions required for wordpress and cornerstone are installed. I just increased the php memory limit to 512MB

Hey @11Studios,

Thanks for sharing the information.

I could not find the cause of the issue. There must be something that was changed or accidentally deleted. Did you made any modification to the parent theme? I notcied that you added this custom code in the functions.php file:

/*---START ---
 * Add to enfornce blank, no container no header no footer as the base template when generating a new page - Crystal*/
/**
 * Force default page template to "Blank - No Container | No Header, No Footer"
 */
function my_default_page_template( $post_id ) {
    // Only run when creating a new page
    if ( get_post_type( $post_id ) !== 'page' ) {
        return;
    }

    // Replace with the actual filename of your template
    $default_template = 'template-blank-no-container.php';

    // Apply the template if none set
    if ( get_page_template_slug( $post_id ) == '' ) {
        update_post_meta( $post_id, '_wp_page_template', $default_template );
    }
}
add_action( 'wp_insert_post', 'my_default_page_template' );

//*--END--*//

I want to suggest that you install a Pro Child theme. You can get it here:

Once installed, you can reinstall the Pro theme. This is to make sure that all the latest files without modifications works smoothly. If you add any custom coding, all of those should only be added to the child theme.

Kindly let us know how it goes.

Thanks for the info. I didn’t realize there was a child theme you offered so I went ahead and installed it. I’ve reinstalled the pro theme. The issue remains. I have not changed any core files other than added that code to the previous function.php file. When testing, removing it did not fix the issue. I also removed all the custom code inside the global js file inside cornerstone and nothing changed. I’m not sure what is going on. I found another thread where someone else was having same issue but it was closed with no solution posted. Can't get Cornerstone > Settings to open - says page not found

Edit: I’ve installed a fresh wordpress and fresh install of pro on a new demo domain and I’m having the same issue there as well.

Can you send over your FTP info? We have to get a little creative to determine the issue. Have a great day.

Yes I’m adding as a secure note. You will notice I turned back on plugins as I’m currently in the design process. Feel free to turn off whatever plugins you need to test. Note that I have another demo site I with a fresh install of Wordpress and Pro theme with the same issue. They all reside on the same shared server.

Hey @11Studios,

I logged in to your site and opened Cornerstone and it works fine (see images in the secure note). I see you’re now using Pro 6.7.6 and it looks like that version fixed the issue.

Please open up a separate ticket for the Yoast plugin conflict to prevent confusion in this thread about Cornerstone 404 issue.

Thank you.

Sir, the issue is that the cornerstone settings page goes to a 404 error. The issue remains.
Cornerstone > Settings
That page is broken. It also happens on a brand new install for a completely separate website.

Edit: I did flag your response to remove the screenshots but I just realized it was a secure note!!
Sorry, I can’t undo the flag, but you can leave them. That was my mistake.

Hey @11Studios,

Apologies for the confusion. Your server has a conflict with Cornerstone. We cannot see the exact error because your server settings display of errors is off or disabled. Please have your web host enable the display of error so we can see the exact cause. I checked your error_log, by the way, but there’s nothing major in there. There’s only minor warnings and notices which are not the cause of the issue.

1 Like

ok, great. I turned on error reporting on server. I’ll add some info in notes.

Hello @11Studios,

It seems that this issue is happening to your server only. And what is more weird is that even the WP Options page cannot be accessed using the default WordPress theme.

  • Check out the link below

This could be a mod_security issue or a server security issue. I would recommend consulting your hosting provider’s support.

Best Regards.

Hey @11Studios,

You have withdrawn your post. Feel free to create another thread if you have another issue.

Cheers.