Support

Home Forums Event Espresso Premium Depricated – not sure what that word means

Depricated – not sure what that word means

Posted: September 22, 2020 at 4:05 pm


JRWDMA

September 22, 2020 at 4:05 pm

Everytime I log in as admin and go into EventEspresso – I get the following messages at the top of my screen. EE still seems to run ok but its been troubling me. ๐Ÿ™‚

Deprecated: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /usr/www/users/migmar/wdma/wp/wp-includes/functions.php on line 5057
Skip to main contentSkip to toolbar
About WordPress
WDMA
44 Plugin Updates
00 Comments in moderation
New
Delete Cache
Event Espresso
Since 03 Aug: 514 / 21052
Insights
Howdy, admin
Log Out

Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /usr/www/users/migmar/wdma/wp/wp-includes/functions.php on line 5148


Tony

  • Support Staff

September 23, 2020 at 3:58 am

Hi there,

A deprecated function/method is one that has been replaced with a ‘better’ version, so the original version usage is discouraged (hence the notice).

However, with regards to this notice:

Deprecated: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated.

has_cap() is not in use within Event Espresso at all so that notice is being thrown by another plugin (or your site’s theme) and just happens to throw the notice on EE’s pages.

To find the cause you’ll need to do a full troubleshoot by disabling all plugins on the site and check the page to see if the notice is still thrown, if so switch to a default theme and again check (if it’s then removed its a theme issue). If disabling plugins removed the notice you then need to enable each plugin one by one, refreshing the page that showed the notice each time to see which one brings it back.

If you let us know the plugin we can advise from there.

Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead.

Again this is unlikely to be from Event Espresso itself, I can’t find any calls to that function at all.

One of my test sites had the Send Grid plugin installed and threw this notice, so are you using that plugin?

(Note there are many plugins that could be using that function, the above is just a shot in the dark)

The support post ‘Depricated – not sure what that word means’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso