Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ice00

    (@ice00)

    hi,

    it should just a warning due to empty database. Newstatpress should collect data in every case.

    I will fix in next version.

    thanks

    Plugin Author ice00

    (@ice00)

    The fix needs to be extended in all the codes that depends on the routine at line 1419 (the plugin expect to have data to manages but it is just installed, so all are empty as the message). This require a little more time to fix.

    Thanks

    Thread Starter Dade Ronan

    (@dade-ronan)

    I did some searching and found that if I add this to the beginning of functions.php, then the error goes away, but that is because I am telling WordPress not to show errors. The problem still exists.

    /* Stop errors if any */
    error_reporting(E_ERROR | E_PARSE);
    /* End stop Errors */

    The problem is that stats are either not being collected or not adding up, cause it shows 0 for everything.

    Plugin Author ice00

    (@ice00)

    Yes, usually PHP warning output are disabled so no one see them. Their are warning as PHP find some functions that are called without what it expects and so advise the programmer.

    It is strange that however you had not collected data. That seems that that routine blocks the correct flow of the program.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error: Creating default object’ is closed to new replies.