“Undefined index: “, “Trying to get property of non-object”
-
With PHP 7.3..13, the plugin generates a lot of PHP notices if WP_DEBUG is enabled.
An undefined index
bar_call
:[18-Feb-2020 07:32:42 UTC] PHP Notice: Undefined index: bar_call in /data/www/example.com/www/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 652
And there is a notice about trying to get a property of a non-object:
[18-Feb-2020 07:33:43 UTC] PHP Notice: Trying to get property 'post_title' of non-object in /data/www/example.com/www/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 297
Haven’t tried PHP 7.4.2 yet.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘“Undefined index: “, “Trying to get property of non-object”’ is closed to new replies.