• Resolved emaxads

    (@emaxads)


    I use Advertising Manager on a couple word press sites with no issues however on one site i get the following errors and the plug in fails. This particular installation has a renamed wp-content directory that’s the only thing different. here are the errors:

    Notice: Undefined index: enable-adjs in /var/www/my/mydomain.com/html/www.subdomain.com/wp-content-RENAMED/plugins/advertising-manager/lib/Advman/Dal.php on line 152

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/mydomain.com/html/www.subdomain.com/wp-includes/functions.php on line 3318

    Any help would be greatly appreciated

    https://wordpress.org/plugins/advertising-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter emaxads

    (@emaxads)

    It has something to do with renamed content directory i set up a fresh site to try it out let me know if there is a work around

    Thread Starter emaxads

    (@emaxads)

    Well sice i got no reply did a fresh WP install with renamed wp-content directory and had the same problems but no error codes just that the visual editor did not work took a peak inside advertising-manager.php and found that it is hard coded to the content directory on line 36 changed the directory name and all is well perhaps you may address this in later releases.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: has_cap was called with an argument’ is closed to new replies.