• I’m having hundreds of messages in my error log like this one:

    Warning: FS_Plugin::__construct(): The script tried to access a property on an incomplete object. Please ensure that the class definition "FS_Plugin" of the object you are trying to operate on was loaded _before_ unserialize()?gets called or provide an autoloader to load the class definition in?/wp-content/plugins/error-log-monitor/freemius/includes/entities/class-fs-plugin.php on line 134

    What is happening?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    That sounds like it’s probably a bug of some kind. Do you have the latest version of the plugin (1.7.7)? Is the site running any caching plugins?

    Thread Starter fidoboy

    (@fidoboy)

    I have the latest available version. I’m using Docket Cache plugin and I’ve discovered that the preload objects feature was causing this issue with the very ugly Freemius library. If I disable this in Docket Cache then error disappear from the logs.

    Plugin Author Janis Elsts

    (@whiteshadow)

    That makes sense. I think what’s going on is that the Freemius SDK stores one of its objects in an option, and later Docket Cache preloads that option before the SDK has loaded the corresponding class definitions. That sort of thing can cause an “incomplete object” warning.

    Maybe updating the SDK would help? Please try the development version of the plugin – I’ve updated the Freemius SDK in that to the latest released version.

    Thread Starter fidoboy

    (@fidoboy)

    It should be better if you put that Freemius SDK into the trash.

    Plugin Author Janis Elsts

    (@whiteshadow)

    No doubt. However, I don’t think there’s a more practical alternative available at the moment, so that’s not likely to happen in the near future.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message related to this plugin’ is closed to new replies.