PHP Notice: Undefined Variable
-
I am seeing the following error messages in my WordPress debug.log file:
PHP Notice: Trying to get property ‘first_name’ of non-object in /wp-content/plugins/user-shortcodes-plus/includes/Shortcodes/User.php on line 26
PHP Notice: Trying to get property ‘last_name’ of non-object in /wp-content/plugins/user-shortcodes-plus/includes/Shortcodes/User.php on line 26
PHP Notice: Trying to get property ‘user_email’ of non-object in /wp-content/plugins/user-shortcodes-plus/includes/Shortcodes/User.php on line 26
PHP Notice: Trying to get property ‘user_email’ of non-object in /wp-content/plugins/user-shortcodes-plus/includes/Shortcodes/UserAvatar.php on line 20The 4 errors happen together with the same timestamp, but I’m not sure yet what exactly triggers them.
I am running:
WordPress version 5.3.2
PHP version 7.3.11 (Supports 64bit values)
User Shortcodes Plus Version 2.0.2
- The topic ‘PHP Notice: Undefined Variable’ is closed to new replies.