Title: Fatal error
Last modified: February 17, 2022

---

# Fatal error

 *  Resolved [allroundweb](https://wordpress.org/support/users/allroundweb/)
 * (@allroundweb)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4077/)
 * Hello, When we activate the plugin we get a fatal error:
 *     ```
       [17-Feb-2022 07:53:14 UTC] PHP Fatal error:  Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type resource, null given in /home/example/wp-admin/includes/class-wp-filesystem-ftpext.php:212
       Stack trace:
       #0 /home/example/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput()
       #1 /home/example/wp-content/plugins/xwp-reviews-plugin-for-google/trustindex-plugin.class.php(556): WP_Filesystem_FTPext->put_contents()
       #2 /home/example/wp-content/plugins/xwp-reviews-plugin-for-google/trustindex-plugin.class.php(513): TrustindexPlugin->handleCssFile()
       #3 /home/example/wp-includes/class-wp-hook.php(307): TrustindexPlugin->plugin_loaded()
       #4 /home/example/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
       #5 /home/example/wp-includes/plugin.php(474): WP_Hook->do_action()
       #6 /home/example/wp-settings.php(450): do_action()
       #7 /home/example/wp-config.php(103): require_once('...')
       #8 /home/example/wp-load.php(50): require_once('...')
       #9 /home/example/wp-admin/admin-ajax.php(22): require_once('...')
       #10 {main}
         thrown in /home/example/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
       ```
   
    -  This topic was modified 4 years, 3 months ago by [allroundweb](https://wordpress.org/support/users/allroundweb/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * (@richplugins)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4077/#post-15377094)
 * Hi [@allroundweb](https://wordpress.org/support/users/allroundweb/),
 * According to the stack trace, it’s not our plugin, I think you need to post it
   here [https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/](https://wordpress.org/support/plugin/wp-reviews-plugin-for-google/)
 * Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/widget-google-reviews/assets/icon-256x256.gif?rev=3152314)
 * [Rich Showcase for Google Reviews](https://wordpress.org/plugins/widget-google-reviews/)
 * [Support Threads](https://wordpress.org/support/plugin/widget-google-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-google-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-google-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-google-reviews/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel K.](https://wordpress.org/support/users/richplugins/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-4077/#post-15377094)
 * Status: resolved