• Resolved joncon62

    (@joncon62)


    I’m getting the following errors using 1.0.7:

    Undefined offset: 0 siteaddress/wp-content/plugins/woo-bulk-editor/classes/models/settings.php on line 32

    Undefined offset: 0 siteaddress/wp-content/plugins/woo-bulk-editor/ext/meta/meta.php on line 26

    This is because, for some reason, I’m not the 0 reference in the role list, though you have hardcoded to look at the 0 element. It may be best to replace:

    if ($role[0] == ‘administrator’) {

    with

    if (current_user_can(‘administrator’)) {

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Undefined offsets’ is closed to new replies.