PHP and WP errors when wp_debug used
-
Using latest version of plugin, installed the plugin on my dev enviroment and my screen has numerous php errors which you might want to look into. This is with WP_debug turned on.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BL_Search_Filter_Widget has a deprecated constructor in /wp-content/plugins/bepro-listings/admin/bepro_listings_widgets.php on line 19
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BL_Map_Widget has a deprecated constructor in /wp-content/plugins/bepro-listings/admin/bepro_listings_widgets.php on line 57
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; BL_Recent_Listings_Widget has a deprecated constructor in /wp-content/plugins/bepro-listings/admin/bepro_listings_widgets.php on line 98
Notice: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
if i go to bepro listings > options > page/post, the template type dropdown has:
Notice: Undefined index: page_template in /wp-content/plugins/bepro-listings/admin/bepro_listings_admin.php on line 1731
Show comments has:
Notice: Undefined index: show_comments in /wp-content/plugins/bepro-listings/admin/bepro_listings_admin.php on line 1745
In Map for map api key:
<br /><b>Notice</b>: Undefined index: map_user_api in <b>/wp-content/plugins/bepro-listings/admin/bepro_listings_admin.php</b> on line <b>1769</b><br />
When I go to add listing I get:
under listing details:
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 79
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 80
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 81
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 82
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 83
under geographic details I get:
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 96
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 97
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 98
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 99
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 100
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 101
Notice: Trying to get property of non-object in /wp-content/plugins/bepro-listings/admin/meta/gallery_meta.php on line 102
All of the above are from install, no settings changed, not many will people will have debug on so won’t see these.
Regards
The topic ‘PHP and WP errors when wp_debug used’ is closed to new replies.