Home Forums Weaver Xtreme Theme php update to 8.0 causes fatal error

Topic Resolution: Resolved
  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Mira.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #71550
    Mira
    Participant

    Hi!

    I am trying to update the php version of two sites running the weaver Xtreme theme site to php 8.0. It causes a fatal error

    Also tried updating to php 8.1 wit the same result.

    This is the error code on one site:

    <b>Fatal error</b>: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-widget.php:163 Stack trace: #0 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘weaverxplus_Wid…’) #2 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-content/plugins/weaver-xtreme-plus/includes/weaver_xplus_social.php(306): register_widget(‘weaverxplus_Wid…’) #3 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-hook.php(308): weaverxplus_load_social_widget(”) #4 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/widgets.php(1854): do_action(‘widgets_init’) #7 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-hook.php(308): wp_widgets_init(”) #8 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-settings.php(617): do_action(‘init’) #11 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-config.php(124): require_once(‘/homepages/33/d…’) #12 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-load.php(50): require_once(‘/homepages/33/d…’) #13 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-blog-header.php(13): require_once(‘/homepages/33/d…’) #14 /homepages/33/d184632718/htdocs/medicinapsicosomatica.es/index.php(17): require(‘/homepages/33/d…’) #15 {main} thrown in <b>/homepages/33/d184632718/htdocs/medicinapsicosomatica.es/wp-includes/class-wp-widget.php</b> on line <b>163</b>

     

    This is the error code on the other site:

    <b>Fatal error</b>: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/xili-language/xili-language.php:1882 Stack trace: #0 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/xili-language/xili-language.php(1882): method_exists(NULL, ‘insert_lang_tag…’) #1 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/xili-language/xili-language.php(3203): xili_language->xili_test_lang_perma() #2 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-hook.php(310): xili_language->translate_page_on_front_ID(’90’) #3 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/plugin.php(205): WP_Hook->apply_filters(’90’, Array) #4 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/option.php(253): apply_filters(‘option_page_on_…’, ’90’, ‘page_on_front’) #5 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-query.php(1023): get_option(‘page_on_front’) #6 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-query.php(1820): WP_Query->parse_query() #7 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-query.php(3749): WP_Query->get_posts() #8 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/post.php(2415): WP_Query->query(Array) #9 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/magee-shortcodes-pro/inc/core.php(1466): get_posts(Array) #10 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/magee-shortcodes-pro/inc/options.php(57): Magee_Core::sliders_meta() #11 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/magee-shortcodes-pro/inc/core.php(764): include_once(‘/homepages/33/d…’) #12 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-hook.php(308): Magee_Core->formate_shortcode(”) #13 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #14 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-settings.php(617): do_action(‘init’) #16 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-config.php(122): require_once(‘/homepages/33/d…’) #17 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-load.php(50): require_once(‘/homepages/33/d…’) #18 /homepages/33/d184632718/htdocs/psychosomatik.com/wp-blog-header.php(13): require_once(‘/homepages/33/d…’) #19 /homepages/33/d184632718/htdocs/psychosomatik.com/index.php(17): require(‘/homepages/33/d…’) #20 {main} thrown in <b>/homepages/33/d184632718/htdocs/psychosomatik.com/wp-content/plugins/xili-language/xili-language.php</b> on line <b>1882</b>

    All Plugins and themes are updated.
    Can you tell me what to do, please?

    Kind regards!

    #71551
    Weaver
    Keymaster

    The first error code MIGHT be coming from using the Weaver Xtreme Plus [social] shortcode. However, the line number in the message do not correspond to any lines in the current version of Weaver Xtreme Plus 4.1.

    So, my first question is what version of Weaver Xtreme Plus are you using? Are you using the [social] shortcode?

    Do you get the error code every time on every page, or just on some page?

    I tested the [social] shortcode using the 4.1 version of Xtreme Plus with PHP 8.1, and there are no issues I could find.

     

    The second set of error messages seems to be due to either magee-shortcodes-pro or xili-language plugins. No detectable connection to anything Weaver.

     

    The way to test what is happening would be to disable the plugins – Weaver Xtreme Plus, xili language, and magee-shortcodes-pro to see if the errors go away.

     

     

    #71560
    Mira
    Participant

    Hi and thank you for your reply!
    So on the first site it was the outdated Xtreme Plus Version. I updated the licence and the Plugin and now all works fine.

    The second site seem to have two incompatible Plugins that I found now have been discontinued. I am looking for alternatives and will try again to update the php version when I have resolved the plugin-issue.

    Again,

    Thank you very much!

    Kind regards!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.