• Resolved fowlerj

    (@fowlerj)


    Query Monitor throws this error on the “installed plugins” page:

    Fatal error: Uncaught Error: Cannot unset string offsets
    in /home/website/public_html/wp-content/plugins/contact-form-7-signature-addon/includes/class-tgm-plugin-activation.php on line 575

    Call stack:

    TGM_Plugin_Activation::filter_plugin_action_links_activate()
    wp-includes/class-wp-hook.php:289
    WP_Hook::apply_filters()
    wp-includes/plugin.php:206
    apply_filters()
    wp-admin/includes/class-wp-plugins-list-table.php:826
    WP_Plugins_List_Table::single_row()
    wp-admin/includes/class-wp-plugins-list-table.php:605
    WP_Plugins_List_Table::display_rows()
    wp-admin/includes/class-wp-list-table.php:1273
    WP_List_Table::display_rows_or_placeholder()
    wp-admin/includes/class-wp-list-table.php:1204
    WP_List_Table::display()
    wp-admin/plugins.php:637

    Other than disabling plugins, does anyone know how to resolve this error?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • @fowlerj I can’t tell you how to resolve the error, I can tell you what is causing it.

    The WP filter plugin_action_links_{$plugin_file} allows plugins to filter an array of action links for a particular plugin.

    Based on the above error trace, there will be a plugin/theme in your setup which hooks into this filter, but instead of returning an array, it returns a string.
    That plugin/theme is doing it wrong.

    It is impossible based on the available information alone to determine which plugin/theme does this.

    I suggest having a look at the “Hooks & Actions” panel of Query Monitor to see which plugins/themes hook into that filter and in which order they are run.

    The problem plugin/theme will be one which is run before the call to TGM_Plugin_Activation::filter_plugin_action_links_activate().

    Once you figure out which plugin/theme is in the wrong, please report the bug to them.

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught Error: Cannot unset string offsets’ is closed to new replies.