Title: PHP Warnings
Last modified: January 8, 2024

---

# PHP Warnings

 *  Resolved [Garth van Sittert](https://wordpress.org/support/users/garthvs/)
 * (@garthvs)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-176/)
 * 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)

 *  [Israel Martins](https://wordpress.org/support/users/israelmartins/)
 * (@israelmartins)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-176/#post-17330282)
 * Hi [@garthvs](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/user-menus/assets/icon-256x256.png?rev=1507838)
 * [User Menus - Nav Menu Visibility](https://wordpress.org/plugins/user-menus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-menus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-menus/)
 * [Active Topics](https://wordpress.org/support/plugin/user-menus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-menus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-menus/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [Israel Martins](https://wordpress.org/support/users/israelmartins/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/php-warnings-176/#post-17330282)
 * Status: resolved