• Resolved garthvs

    (@garthvs)


    Great plugin, but I have constant PHP warnings in my apache logs:

    Got error ‘PHP message: PHP 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 /var/www/html/wp-content/plugins/user-menus/freemius/includes/entities/class-fs-plugin.php on line 126

    Using Ubuntu 22.04 with PHP FPM 8.1 and Apache2

Viewing 1 replies (of 1 total)
  • Hi @garthvs ,

    It appears that a script is trying to access a property on an object in a User Menus file that hasn’t been fully loaded.

    Is there a particular action that causes the error?

    It could be caused by a code conflict with another active plugin/theme or some custom code.

    Do you have any active custom code on the site? If yes, could you temporarily disable it and check for the error?

    If no, could you:

    1. Temporarily deactivate each active plugin except User Menus, and
    2. Check for the error after each deactivation?

    If the error does not occur after deactivating a plugin, that plugin is causing a conflict.

    Let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warnings’ is closed to new replies.