My website keeps getting an error in the X Theme code

Hey guys,

My website runs fine and then it keeps getting this error (image attached). I will do a backup for the day before and it will be fine for a week or two and then error again.

Here’s the website: https://www.cultivatesponsorship.com/

It’s also happening to another site on the same shared hosting https://a-ha.com.au/ but this time not at the same time.
(https://a-ha.com.au/)

More error details in the email sent from wordpress:


Error Details

An error of type E_ERROR was caused in line 79 of the file /home/cultiv53/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_elements/bar.php. Error message: Uncaught Error: Call to undefined function x_values_bar() in /home/cultiv53/public_html/wp-content/themes/pro/framework/functions/pro/bars/mixins_elements/bar.php:79
Stack trace:
#0 /home/cultiv53/public_html/wp-content/themes/pro/framework/functions/pro/bars/definitions/bar.php(22): x_values_element_bar()
#1 /home/cultiv53/public_html/wp-content/themes/pro/framework/functions/pro/bars/definitions.php(18): require_once(’/home/cultiv53/…’)
#2 /home/cultiv53/public_html/wp-content/themes/pro/framework/functions/pro/bars/setup.php(193): require_once(’/home/cultiv53/…’)
#3 /home/cultiv53/public_html/wp-includes/class-wp-hook.php(286): x_bars_element_setup(’’)
#4 /home/cultiv53/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(’’, Array)
#5 /home/cultiv53/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#6 /home/cultiv53/public_html/wp-content/themes/pro/cornerstone/includes/classes/elements/class-element-manager.php(11): do_action(‘cs_register_ele…’)
#7 /home/cultiv53/

Hi Samuel,

Thanks for reaching out.

Your installed theme is corrupted, does this always happen after an update? If yes then your site has issue with installation and will always fail resulting to corrupted files. Basically, that error means it’s trying to find the function which is on the same file but not found, the only probable cause is the file is incomplete.

Please manually install your theme again through FTP.

Thanks!

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