Error – has_cap() Deprecated
-
I currently have debugging turned on on my site and I keep getting the following error:
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. in \wp-includes\functions.php on line 4020
Which I’m sure if I turn off errors would be fine. It appears at the top of the admin site on every page then again in the Settings menu above the plugin page “Facebook Members”.
On the “Facebook Members” page there’s additional errors:
Notice: Undefined index: as_facebook_mem_stream in \plugins\facebook-members\facebook-members.php on line 148 Notice: Undefined index: as_facebook_mem_header in \plugins\facebook-members\facebook-members.php on line 149 Notice: Undefined index: as_facebook_mem_faces in \plugins\facebook-members\facebook-members.php on line 150 Notice: Undefined index: as_facebook_mem_widget_stream in \plugins\facebook-members\facebook-members.php on line 151 Notice: Undefined index: as_facebook_mem_widget_faces in \plugins\facebook-members\facebook-members.php on line 152
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error – has_cap() Deprecated’ is closed to new replies.