• Hello support, i’ve updated the plugin to the last version and i got this error

    ERROR: #1595568536 Plugin wp-stats-manager/wp-stats-manager.php was automatically deactivated due to an error at Fri, 24 Jul 2020 05:28:56 +0000!
    Error was: Call to a member function prepare() on null

    How can we fix it?

    Thank you

Viewing 15 replies - 1 through 15 (of 34 total)
  • Plugin Author osama.esh

    (@osamaesh)

    hello @davideventurini ,
    thank you for using our plugin,
    is this issue happened after updating to the latest release or after the first installation?

    Thread Starter Davide Venturini

    (@davideventurini)

    Hello @osamaesh , thanks for your answer.

    The issue happened in both case on different sites.

    Thank you

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @osamaesh I have removed your reply.

    While I know you have the best of intentions, it’s forum policy that you not ask users for admin or server access. Users on the forums aren’t your customers, they’re your open source collaborators, and requesting that kind of access can put you and them at high risk.

    If they are paying customers (such as people who bought a premium service/product from you) then by all means, direct them to your official customer support system. But in all other cases, you need to help them here on the forums.

    Thankfully are other ways to get information you need:

    You get the idea.

    We know volunteer support is not easy, and this guideline can feel needlessly restrictive. It’s actually there to protect you as much as end users. Should their site be hacked or have any issues after you accessed it, you could be held legally liable for damages. In addition, it’s difficult for end users to know the difference between helpful developers and people with malicious intentions. Because of that, we rely on plugin developers and long-standing volunteers (like you) to help us and uphold this particular guideline.

    When you help users here and in public, you also help the next person with the same problem. They’ll be able to read the debugging and solution and educate themselves. That’s how we get the next generation of developers.

    Thread Starter Davide Venturini

    (@davideventurini)

    Here the info

    Site info: https://pastebin.com/m7CFH8dJ
    Php info: https://pastebin.com/aq7WapSa

    Thank you

    Plugin Author osama.esh

    (@osamaesh)

    Thank you @davideventurini ,
    We will check and let you know soon

    Plugin Author osama.esh

    (@osamaesh)

    hello all,
    Thanks a lot @jdembowski for notifying me, for sure i will take your note into consideration in my next replies,

    Dear @davideventurini ,
    kindly enable the debugging mode to display the full error details by following this easy steps:
    https://www.tecmint.com/enable-wordpress-debugging-mode/

    When enabled by setting the WP_DEBUG_LOG constant to true, WordPress will write all issues to the following file: wp-content/debug.log

    let me know

    thank you

    Thread Starter Davide Venturini

    (@davideventurini)

    Hello @osamaesh thank you for your support.

    I’ve enable what you told me, here he screenshot https://prnt.sc/tsas3z

    But unfortunatly seems there is not any file called wp-content/debug.log please see screenshot https://prnt.sc/tsat2p

    I cant access with ftp to the site, and the hosting is this easyblognetworks.com

    Thank you

    Plugin Author osama.esh

    (@osamaesh)

    Thanks a lot dear @davideventurini
    is there any error.log inside the public_html?

    Thread Starter Davide Venturini

    (@davideventurini)

    Unfortunatly not https://prnt.sc/tt144f

    I see in php

    track_errors Off

    could be this the problem?

    Plugin Author osama.esh

    (@osamaesh)

    Maybe dear,
    Please change it to “on” then visit the statistics page and check the log..

    Thread Starter Davide Venturini

    (@davideventurini)

    I ask to provider to do this, let you know, thank you

    Thread Starter Davide Venturini

    (@davideventurini)

    Unfortunately the provider aren’t able to adjust PHP settings, we can do in another way?

    Plugin Author osama.esh

    (@osamaesh)

    Unfortunately, we can’t handle this issue without having more details about the error (I think the issue is related to another plugin or theme)

    let’s try this solution, please go to your dashboard > plugins editor and edit the plugin “visitor statistics” > stats-manager.php

    put the following lines inside the file (under the include_once(‘notifications.php’); line)

    error_reporting(-1); // reports all errors
    ini_set(‘display_errors’, ‘1’); // shows all errors
    ini_set(‘log_errors’, 1);
    ini_set(‘error_log’, ‘php-error.log’);

    please watch this video:
    https://recordit.co/tqKesGzuQF

    after that, you should see the error details

    thank you

    • This reply was modified 4 years, 3 months ago by osama.esh. Reason: change double quote to single
    Thread Starter Davide Venturini

    (@davideventurini)

    I did it, then enabled the plugin, then i got the same error of before

    ERROR: #1596600983 Plugin wp-stats-manager/wp-stats-manager.php was automatically deactivated due to an error at Wed, 05 Aug 2020 04:16:23 +0000!
    Error was: Call to a member function prepare() on null

    The plugin disabled, no other errors

    Thread Starter Davide Venturini

    (@davideventurini)

    I disabled all plugin on site, then enable only wp visitors statistics.
    After that i navigate the backend and no error appears.
    Then I open the homepage, go back to backend and the same error appears and plugin disabled

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘ERROR: #1595568536 Plugin wp-stats-manager/wp-stats-manager.php’ is closed to new replies.