Support » Plugin: WP Statistics » Error occurred : class-wp-statistics-referred.php

  • Resolved purityboy83

    (@purityboy83)


    Hi

    use to WP Statistics ver 13.0.2

    Error occurred

    Browser

    ————————————————————————
    Fatal error: Uncaught Error: Call to a member function get() on null
    in /site/wordpress/wp-includes/query.php on line 28

    Call stack:

    get_query_var()
    wp-includes/general-template.php:1288
    wp_title()
    wp-content/plugins/wp-statistics/includes/class-wp-statistics-referred.php:70
    WP_STATISTICS\Referred::get()
    wp-content/plugins/wp-statistics/includes/class-wp-statistics.php:330
    WP_Statistics::instantiate()
    wp-content/plugins/wp-statistics/includes/class-wp-statistics.php:115
    WP_Statistics::plugin_setup()
    wp-includes/class-wp-hook.php:287
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    do_action()
    wp-settings.php:409
    require_once()
    wp-config.php:82
    require_once()
    wp-load.php:37
    require_once()
    wp-blog-header.php:13
    require()
    index.php:17
    ——————————————————–

    PHP-FPM Error Log
    ——————————————————–

    [30-Nov-2020 04:54:04.186988] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “NOTICE: sapi_cgi_log_message(), line 617: PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /site/wordpress/wp-includes/query.php:28”
    [30-Nov-2020 04:54:04.187149] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “Stack trace:”
    [30-Nov-2020 04:54:04.187196] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#0 /site/wordpress/wp-includes/general-template.php(1288): get_query_var()”
    [30-Nov-2020 04:54:04.187301] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#1 /site/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics-referred.php(70): wp_title()”
    [30-Nov-2020 04:54:04.187347] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#2 /site/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(330): WP_STATISTICS\Referred::get()”
    [30-Nov-2020 04:54:04.187432] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#3 /site/wordpress/wp-content/plugins/wp-statistics/includes/class-wp-statistics.php(115): WP_Statistics->instantiate()”
    [30-Nov-2020 04:54:04.187476] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#4 /site/wordpress/wp-includes/class-wp-hook.php(287): WP_Statistics->plugin_setup()”
    [30-Nov-2020 04:54:04.187510] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#5 /site/wordpress/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()”
    [30-Nov-2020 04:54:04.187612] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#6 /site/wordpress/wp-includes/plugin.php(478): WP_Hook->do_action()”
    [30-Nov-2020 04:54:04.187656] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#7 /site/wordpress/wp-settings.php(409): do_action()”
    [30-Nov-2020 04:54:04.187689] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#8 /site/wordpress/wp-config.php(82): require_once(‘/site/wordpress…’)”
    [30-Nov-2020 04:54:04.187720] WARNING: pid 13700, (null)(), line 0: [pool aaa] child 661 said into stderr: “#9 /site/wordpress/wp-load.php(37): require_once…”
    ——————————————————–

    Frequency: Every time, always on a specific page

    Thanks

    Best Regards,
    Hyunho

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor veronalabs

    (@veronalabs)

    Hi Hyunho,

    Thank you for using our plugin and sorry for the inconvenience caused.

    We are working hard to fix the issues and you can check out our GitHub for the Composer problem.
    We will release an update today.

    Again, we are really sorry for this issue.

    Thanks for your patience and understanding.

    Best,

    Hi

    I know you are struggling with the update, first thanks

    I know it has been updated to 13.0.3.

    Does this version contain a solution to my problem?

    Best Regards,
    Hyunho

    Plugin Contributor veronalabs

    (@veronalabs)

    Hi again,

    V13.0.3 was good for most of the users that updated the plugin. But it caused some errors for some of our users. So you can test it and let us know the result. Otherwise, our temporary solution is rolling back to the previous version.
    Please check out this topic:
    https://wordpress.org/support/topic/note-for-the-new-version-upper-than-v13-0/

    We understand how frustrating this can be, so again, we are truly sorry for what happened.

    We are trying to resolve all the issues and release a new version.

    Best,

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