some notices appearing: fix suggested
-
Hi, i had some notices appearing on the form edit page:
PHP Notice: Undefined offset: 0 in ***/wp-includes/capabilities.php on line 155
i fixed it by changing line 22 of admin.php
changed
if ( current_user_can( ‘wpcf7_edit_contact_form’ ) ) {
to
if ( current_user_can( ‘wpcf7_edit_contact_forms’ ) ) {
notice then disappears and plugin seems fine.The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘some notices appearing: fix suggested’ is closed to new replies.