Support » Plugin: jQuery Archive List Widget » PHP Compiler Crash Bug

  • Resolved spirish


    After updating from 3.0.6 to 4.0.0, we came across a crash bug. We have downgraded the plugin back to 3.0.6 to solve the problem for now.

    Here is the crash details.

    The description for Event ID 3 from source PHP-7.1.24 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    PHP Fatal error: Uncaught Error: Call to a member function get_years() on null in D:\[Website Location]\wp-content\plugins\jquery-archive-list-widget\classes\class-jq-archive-list-widget.php:119
    Stack trace:
    #0 D:\[Website Location]\wp-content\plugins\jquery-archive-list-widget\classes\class-jq-archive-list-widget.php(559): JQ_Archive_List_Widget->build_html()
    #1 D:\[Website Location]\wp-includes\shortcodes.php(319): JQ_Archive_List_Widget->filter(Array, ”, ‘jQueryArchiveLi…’)
    #2 [internal function]: do_shortcode_tag(Array)
    #3 D:\[Website Location]\wp-includes\shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(catlis…’, ‘do_shortcode_ta…’, ‘<div style=”flo…’)
    #4 D:\[Website Location]\wp-includes\class-wp-hook.php(286): do_shortcode(‘<div style=”flo…’)
    #5 D:\[Website Location]\wp-includes\plugin.php(203): WP_Hook->apply_filters(‘<div style=”flo…’, Array)
    #6 D:\[Website Location]\wp-includes\post-template.php(240): apply_filters(‘the_content’, ‘<div style=”flo…’)
    #7 D in D:\[Website Location]\wp-content\plugins\jquery-archive-list-widget\classes\class-jq-archive-list-widget.php on line 119

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was also receiving this error and went looking in the plugin and found that for me it was due to the data_source class not being instantiated in the filter() method for the short-code support –

    Go to Line:559 in class-jq-archive-list-widget.php and add this:
    $this->data_source = new JQ_Archive_List_DataSource( $this->config );

    Plugin Author Miguel Useche


    Thanks for the report. I’ve updated the plugin with your fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Compiler Crash Bug’ is closed to new replies.