• Resolved awaaxyb

    (@awaaxyb)


    Hello, I get this error :

    An error of type E_ERROR was caused in line 389 of the file /folder/userunix/sitename.com/wp-content/plugins/tablepress/libraries/freemius/includes/class-fs-plugin-updater.php. Error message: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, stdClass given in /folder/userunix/sitename.com/wp-content/plugins/tablepress/libraries/freemius/includes/class-fs-plugin-updater.php:389 Stack trace: #0 /folder/userunix/sitename.com/wp-content/plugins/tablepress/libraries/freemius/includes/class-fs-plugin-updater.php(389): trim() #1 /folder/userunix/sitename.com/wp-includes/class-wp-hook.php(312): FS_Plugin_Updater->edit_and_echo_plugin_update_row() #2 /folder/userunix/sitename.com/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #3 /folder/userunix/sitename.com/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /folder/userunix/sitename.com/wp-admin/includes/class-wp-plugins-list-table.php(1367): do_action() #5 /folder/userunix/sitename.com/wp-admin/includes/class-wp-plugins-list-table.php(706): WP_Plugins_List_Table->single_row() #6 /folder/userunix/sitename.com/wp-admin/includes/class-wp-list-table.php(1662): WP_Plugins_List_Table->display_rows() #7 /folder/userunix/sitename.com/wp-admin/includes/class-wp-list-table.php(1589): WP_List_Table->display_rows_or_placeholder() #8 /folder/userunix/sitename.com/wp-admin/plugins.php(773): WP_List_Table->display() #9 {main} thrown

    https://pastebin.com/6w6Fjits

    Any idea of what can fix this ?

    Thanks

    • This topic was modified 1 year, 6 months ago by awaaxyb.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This indicates that another plugin might be interfering with the update process, by wrongly using a plugin filter hook.

    Does this still happen after temporarily deactivating all other plugins?

    Regards,
    Tobias

    Thread Starter awaaxyb

    (@awaaxyb)

    No, I get notified of the error when going to the plugin page at /wp-admin/plugins.php

    Actually i am not able to understand which plugin is interfering with the update process, how can i find this plugin then notify the dev to fix this wrongly used hook ?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    my recommendation would be to temporarily deactivate each other plugin one by one, until the error message disappears. That would be the most reliable solution here.

    Regards,
    Tobias

    Thread Starter awaaxyb

    (@awaaxyb)

    Hello,

    Did u check the error? We think it’s coming from freemius , do u think we should contact freemius ? We have not the experience but apparently the error show a “class-fs-plugin-updater.php” line 389, look at the pastebin link we put inside our first post pls

    thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    yes, I checked the error ?? While it is indeed in the Freemius code, it deals with a plugin filter hook. This means that not the Freemius code has a bug here (otherwise, we would likely see many more reports like this), but that the data that is passed to the filter hook handler function is “wrong” (in this particular case, it should be a string, but is a class object). This very likely is caused by another plugin that hooks into the same filter hook but returns data with the wrong data type. (That’s also why getting Freemius involved won’t really help, as they can’t to anything here. That other plugins needs to be fixed.)

    To find this, deactivating other plugins one by one and checking if the error still appears each time is the fastest solution.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error type E_ERROR’ is closed to new replies.