Received an alert from Wordpress that “WordPress caught an error with your theme, X.” When I check the site (https://careers.littlesprouts.com/), the header layout, section background colors, and font colors are affected / not right. For reference, the header of the site should look identical to this: (https://littlesprouts.com/).
I’ve troubleshooted and reached out to our webhost. They couldn’t find an issue, but did help me restore the site back to 2/10/25. That did not work. They said it’s a theme issue so they cannot provide more support. Please help!
WordPress version 6.7.2
Active theme: X version 10.5.16
Cornerstone: version 7.5.16
PHP version 8.0.30
Error Details
=============
An error of type E_ERROR was caused in line 289 of the file /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-content/themes/x/framework/functions/x/migration.php. Error message: Uncaught Error: Call to undefined method Themeco\Cornerstone\Services\Permissions::migrateTemplateEditPermission() in /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-content/themes/x/framework/functions/x/migration.php:289
Stack trace:
#0 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-includes/class-wp-hook.php(324): x_version_migration(’’)
#1 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-settings.php(704): do_action(‘init’)
#4 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-config.php(137): require_once(’/chroot/home/ad…’)
#5 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-load.php(50): require_once(’/chroot/home/ad…’)
#6 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-admin/admin.php(34): require_once(’/chroot/home/ad…’)
#7 /chroot/home/ada763f8/887c4f3568.nxcli.io/html/wp-admin/update-core.php(10): require_once(’/chroot/home/ad…’)
#8 {main}
thrown