! X-Theme Sites Down - Cannot declare class X_View_Router

Cornerstone Plugin issue here:

An error of type E_ERROR was caused in line 31 of the file /home2/bwlltheatreinven/public_html/wp-content/plugins/cornerstone/includes/extend/portfolio.php. Error message: Uncaught Error: Call to undefined function x_get_option() in /home2/bwlltheatreinven/public_html/wp-content/plugins/cornerstone/includes/extend/portfolio.php:31 Stack trace: #0 /home2/bwlltheatreinven/public_html/wp-includes/class-wp-hook.php(287): cs_portfolio_init('') #1 /home2/bwlltheatreinven/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /home2/bwlltheatreinven/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home2/bwlltheatreinven/public_html/wp-settings.php(557): do_action('init') #4 /home2/bwlltheatreinven/public_html/wp-config.php(90): require_once('/home2/bwllthea...') #5 /home2/bwlltheatreinven/public_html/wp-load.php(37): require_once('/home2/bwllthea...') #6 /home2/bwlltheatreinven/public_html/wp-admin/admin-ajax.php(22): require_once('/home2/bwllthea...') #7 {main} thrown

and problem with theme:

An error of type E_ERROR was caused in line 73 of the file /home2/bwlltheatreinven/public_html/wp-content/themes/x/framework/functions/frontend/view-routing.php. Error message: Cannot declare class X_View_Router, because the name is already in use

Would like to add that I still cannot resume the theme when deleting cornerstone and clearing all external caching.

Hi, try to do these steps; for me works without problems. Otherwise wait for the support team.

Hi @inventiveweb,

I’m sorry that you’re experiencing this issue. Could you try updating to the latest versions of X and Cornerstone? Let us know if that solves it for you.

Thanks @erregrafiche for your helpful comment here!

Same here, my porfolio doesnt load, and its totally messed up my site, this is the latest cornerstone and theme:

And before I update, my portfolio is messed up, doesnt load…so thats when I thought things needed updating, I did so, and it messes the nav bar up, and the portfolio still doesnt load.

@logoglo, Try updating to the latest point releases for X and Cornerstone and let us know if that resolves the issue you’re seeing.

This is with the most up to date theme and cornerstone, seams the issue is in cornerstone, and jquery?

Hi @logoglo,

I’ve checked and your site has X 8.0.2 and Cornerstone 4.2.3. The latest versions are X 8.0.4 and Cornerstone 5.0.4.

Yeah, I reverted back to a previous working version, I cannot have my site messed up, I need it funcioning

How do I download v.8.0.4? it wont auto update in my backend

Then you may want to revert X to 7.2.3 as well. X 8 should only be used with Cornerstone 5

I see that this new release was out today, so im gonna try updating all again…

OK, just updated both, and it does this:

Look at the nav bar! it should look like this:

Hi @logoglo,

We’ve corresponded more recently on this thread: Portolio has stopped working with new jquery (latest wordpress)

Hopefully everything is working now, but if you’re still having the issue below, let’s continue discussing it there since you’re the topic owner and we don’t have to notify the original poster on this one. We definitely want to help you get everything sorted out so just let us know over there if needed.

All fixed :slight_smile:

Glad to hear that, @logoglo

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