X Theme legacy framework errors & changes to layouts after updates

Hello, we have a staging server where we’ve updated a site to WordPress 5.8.1, X Theme to 9.0.8, Cornerstone to 6.0.8 and Events Calendar to 5.9.1. We have also cleared all caches before submitting this ticket.

After updating, we’ve noticed that the layouts on the main /events/ page and on single event/product pages have changed. It appears that the main sidebar has been added to these pages when it wasn’t there before. We have the Events display setting to utilize the “Blank - No Container | Header, Footer” template and have not changed anything else. We can compare these two pages on the updated staging site to the live site and see the differences.

The main events page is also displaying the following error messages at the bottom of the page:

Warning : Illegal string offset ‘base’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/cranium/headers/setup.php on line 75

Warning : Illegal string offset ‘extension’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/cranium/headers/setup.php on line 76

Warning : Illegal string offset ‘base’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/cranium/footers/setup.php on line 70

Warning : Illegal string offset ‘extension’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/cranium/footers/setup.php on line 71

Warning : Illegal string offset ‘base’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/functions/frontend/view-routing.php on line 51

Warning : Illegal string offset ‘extension’ in /home/customer/www/xxx/public_html/wp-content/themes/x/framework/legacy/functions/frontend/view-routing.php on line 56

(can supply screenshots to show the comparisons between the staging and live sites and passwords to the staging site in a secondary private message, thank you!)

Hello @dmeyer,

Thanks for writing in!

The PHP Warning message is a result of a null value or uninitialized value. You may need to reset your layout settings in the Theme Options. Please disable the debug mode if you do not want to see those PHP notices.

We also noticed that in your live site, you are using a “Fullwidth” content layout while on the staging site, you are using the “Content / Sidebar”.

Screen Shot 2021-09-18 at 7.57.01 AM

Please go to Cornerstone > Theme Options > Layouts and set your Content Layout to “Fullwidth” to get rid of your sidebar on the Events page.

And by the way, you will need to relocate some of the files in your child theme. The following files are:

  • framework/views/global/_footer-widget-areas.php
  • framework/views/integrity/wp-footer.php

These files must be moved to:

  • framework/legacy/cranium/footers/views/global/_footer-widget-areas.php
  • framework/legacy/cranium/footers/views/integrity/wp-footer.php

You will need to create the folder path since it does not exist in your child theme yet.

Best Regards.

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