• Resolved mail2technerd

    (@mail2technerd)


    I have php 7.3 installed in my website. I installed this plugin. But I can see a fatal error like this:

    Fatal error: Uncaught Error: [] operator not supported for strings in /home/telaeris/wordpress/wp-content/plugins/resmushit-image-optimizer/resmushit.php:286 Stack trace: #0 /home/telaeris/wordpress/wp-includes/class-wp-hook.php(289): resmushit_add_plugin_page_settings_link(‘<‘) #1 /home/telaeris/wordpress/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘<‘, Array) #2 /home/telaeris/wordpress/wp-admin/includes/class-wp-plugins-list-table.php(826): apply_filters(‘plugin_action_l…’, ‘<‘, ‘resmushit-image…’, Array, ‘all’) #3 /home/telaeris/wordpress/wp-admin/includes/class-wp-plugins-list-table.php(605): WP_Plugins_List_Table->single_row(Array) #4 /home/telaeris/wordpress/wp-admin/includes/class-wp-list-table.php(1273): WP_Plugins_List_Table->display_rows() #5 /home/telaeris/wordpress/wp-admin/includes/class-wp-list-table.php(1204): WP_List_Table->display_rows_or_placeholder() #6 /home/telaeris/wordpress/wp-admin/plugins.php(637): WP_List_Table->display() #7 {main} thrown in /home/telaeris/wordpress/wp-content/plugins/resmushit-image-optimizer/resmushit.php on line 286

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor reSmush.it

    (@resmushit)

    Hi @mail2technerd,

    Thanks for this bug report, we’ll look at it !

    I’ll keep you posted,
    Cheers,
    Charles

    Thread Starter mail2technerd

    (@mail2technerd)

    Thanks for your reply. Though you guys took huge time to reply on a serious issue.

    Anyway could you please let me know when you guys can update this thing? Beside what I can do from my end to solve the issue so that I can run the plugin with my system?

    Plugin Contributor reSmush.it

    (@resmushit)

    Hi @mail2technerd, we should release a new version very soon 🙂
    I’ll keep you updated !

    Thread Starter mail2technerd

    (@mail2technerd)

    Hi
    Does it mean that the error I am getting is a bug of the plugin according my system?

    Plugin Contributor reSmush.it

    (@resmushit)

    It may be due to the plugin 🙂

    Plugin Contributor reSmush.it

    (@resmushit)

    Hi @mail2technerd,

    We’ve had a look at your PHP error, which is quite strange, as it reports that a variable isn’t an array in your case. The WP documentation says clearly that it should be an array as we implemented it. That’s why we think, one of the plugin you’ve installed on your WP should misuse this variable.
    Anyway, we’ve managed this exception in our last release, and we’ve reconvert this variable into array. You should not have any problem any more.

    Hope it’ll help !

    Cheers,
    Charles

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Creates a fatal error’ is closed to new replies.