Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Had to restore site after update.

Home / Forums / Ascend Theme / Had to restore site after update.

This topic is: Not a support question
[Not a support question]
Posted in: Ascend Theme
May 9, 2019 at 5:05 am

Just wondering if you could have a look at the error logs for the affected website and see if you know what has caused the issue?

As discussed, the error I am seeing for is:

[09-May-2019 10:14:09 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_paused_themes() in
/home/prestoncarworks/public_html/wp-includes/class-wp-theme.php:374
Stack trace:
#0 /home/prestoncarworks/public_html/wp-includes/theme.php(125): WP_Theme->__construct(‘ascend_premium’,
‘/home/prestonca…’)
#1 /home/prestoncarworks/public_html/wp-content/themes/ascend_premium/themeoptions/options.php(48): wp_get_theme()
#2 /home/prestoncarworks/public_html/wp-content/themes/ascend_premium/functions.php(9):
require_once(‘/home/prestonca…’)
#3 /home/prestoncarworks/public_html/wp-settings.php(479): include(‘/home/prestonca…’)
#4 /home/prestoncarworks/public_html/wp-config.php(82): require_once(‘/home/prestonca…’)
#5 /home/prestoncarworks/public_html/wp-load.php(37): require_once(‘/home/prestonca…’)
#6 /home/prestoncarworks/public_html/wp-blog-header.php(13): require_once(‘/home/prestonca…’)
#7 /home/prestoncarworks/public_html/index.php(17): require(‘/home/prestonca…’)
#8 {main}
thrown in /home/prestoncarworks/public_html/wp-includes/class-wp-theme.php on line 374

I have commented out the function that was being displayed in the error below:

/home/prestoncarworks/public_html/wp-includes/class-wp-theme.php line 374

#if ( wp_paused_themes()->get( $this->stylesheet ) && ( ! is_wp_error( $this->errors )
|| ! isset( $this->errors->errors[‘theme_paused’] ) ) ) {
# $this->errors = new WP_Error( ‘theme_paused’, __( ‘This theme failed to load properly and was
paused within the admin backend.’ ) );
#}

  • The forum ‘Ascend Theme’ is closed to new topics and replies.