• Resolved PSlat

    (@pslat)


    Hi I like the plugin but when I’m testing on a dev server with log file on, error conditions, the following shows up when I enable your plugin; None of it appears when the plugin is disabled. Would you please consider updating the plugin to use the new wp capability methods thanks. This has got to be slowing down the plugin..

    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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927 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/wp-includes/functions.php on line 2927

    https://wordpress.org/plugins/contact-forms/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cimatti

    (@cimatti)

    Hi PSlat

    I don’t think this was significatively slowing down the plugin, however I just released a new version where I replaced references to user level ’10’ with capability ‘manage_options’

    Please try it now, thanks!

    Thread Starter PSlat

    (@pslat)

    Hi Cimatti,
    Thanks for that, the message has now changed since you fixed the capabilities but now these warnings are coming from the plugin; The first notice appears on every page when I activate the plugin and the second when I click on the forms section of the wordpress panel below (c) Forms > Dashboard. The third appears on a page containing the plugin, I know this is perhaps a different issue but it is still all coming from the plugin; I don’t want to be just annoying about this but I’d like to see the plugin be the best it can be. If you have any ideas I’d appreciate it thanks.

    Message 1:
    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/wp-includes/functions.php on line 3622 Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/wp-includes/functions.php on line 3622

    Messsage 2:
    Notice: Undefined index: form in /var/www/wp-content/plugins/contact-forms/accua-forms-list-page.php on line 150 Notice: Undefined index: in /var/www/wp-content/plugins/contact-forms/accua-forms-list-page.php on line 141
    — This messsage is repeated several times, I assume it is looping through the forms.

    Message 3:
    Notice: Undefined variable: width in /var/www/wp-content/plugins/contact-forms/AccuaForm.php on line 202 Notice: Undefined variable: width in /var/www/wp-content/plugins/contact-forms/AccuaForm.php on line 210 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined variable: element_conf in /var/www/wp-content/plugins/contact-forms/accua-forms.php on line 2604 Notice: Undefined offset: 4 in /var/www/wp-content/plugins/contact-forms/phpseclib-crypt/Rijndael.php on line 598 Notice: Undefined offset: 3 in /var/www/wp-content/plugins/contact-forms/phpseclib-crypt/Rijndael.php on line 598 Notice: Undefined offset: 2 in /var/www/wp-content/plugins/contact-forms/phpseclib-crypt/Rijndael.php on line 598

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