Can't activate cornerstone on multisite

Hello! We are having issues with cornerstone not activating on this multisite…

Here’s the error we get.
Plugin could not be activated because it triggered a fatal error.
Fatal error: Cannot declare class Cornerstone_Plugin_Base, because the name is already in use in /home/richardcreative/public_html/jbrg/wp-content/plugins/cornerstone/includes/utility/plugin-base.php on line 6

Have tried: turning off all other plugins, turning on default theme, manually uploading cornerstone via ftp/cpanel, updating to the most recent php.

Is this an issue you guys can help with, or is there something I need to ask of our hosting provider? Thanks :slight_smile:

Hi @richardcreative,

Thanks for reaching out.

The error means it’s already active, may I know which theme you’re activating? If you’re mixing X theme and Pro theme on the same multi-site installation then I recommend not to network activate cornerstone. You must only activate it within the site where it’s needed, this will make sure there will be no issue when you activate Pro theme. Pro theme has built-in cornerstone.

Or perhaps a Pro theme is already active and you’re activating cornerstone? Then cornerstone shouldn’t be activated :slight_smile:

Thanks!

Ah yes, my apologies! I should have included the link. And we totally missed that we do have one site on X and one on Pro. Will upgrade all to Pro to keep consistent and see if that helps with other issues we were having :slight_smile: Thanks!

Hi @richardcreative,

We are glad that we could be of help :slight_smile:.

Hello! I’m circling back around to this set of multisites. We checked with our hosting provider and they couldn’t pinpoint any settings on the server that would cause these issues. Can you lend any help or advice from the theme side of things?

We have a multisite set up at https://jasonbradyrestaurantgroup.com/ and it seems that all sub-sites can’t read or can’t find the theme files to read.

You’ll notice the main site https://jasonbradyrestaurantgroup.com/ does load the theme, however the two sub sites we’re using do not: https://jasonbradyrestaurantgroup.com/parishtaceaux and https://jasonbradyrestaurantgroup.com/southernforkcatering/

Additionally, we’re not able to view the dashboard of either of the two sub-sites, so we’re limited on what we can do to troubleshoot. We found that we could activate a theme from within the database, but it still doesn’t affect how the front end of the website displays as broken.

Thanks in advance for any help you can lend :slight_smile:

Hey @richardcreative,

I have investigated your multisite installation and it seems that the theme files in sub sites were not properly pointed to the correct file directory. You may not have set up this site correctly. Please log in to your ftp and make sure that your .htaccess in your root directory has this code:

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


If this does not work, please provide us your FTP log in details so that we can investigate further.

Thank you.

Thanks! I made that change to my .htaccess file and the website jasonbradyrestaurantgroup.com returned a 500 server error. So I changed it back to the original .htaccess file. Will paste the ftp login info into a secure note so you guys can take a better look. Thanks so much for your help!

Hello @richardcreative,

The credential is not working for us. It seems that the password is incorrect.
Please double check it.

By the way, please make sure that you have these lines in your wp-config.php file:

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'example.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Please let us know how it goes.

Thanks! I just confirmed that the wp-config file does contain that coding. Have put in a ticket with our hosting provider to see why your ftp login isn’t working. Will report back with the proper ftp credentials asap.

Ok, correct login credentials are in a secure note here…

Hello @richardcreative,

Still we cannot connect to your FTP using the latest given credentials.
Please double check it again.

Thanks in advance.

So sorry about that! I’ve double checked to make sure these credentials work properly and I am able to get logged in on this end. Let me know if you have any issues.

Hi @richardcreative,

Thank you for the credentials, it’s working now, I see that you’re using a custom structure permalink


Try switching this to Pretty Permalinks or Post Name, as Wordpress recommend.

https://wordpress.org/support/article/create-a-network/

Thanks,

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