When using PHP7.3 in multisite, it works normally, but Fatal error occurs in PHP8.0.
Is this a theme bug?
Any solution?
The error is as follows.
Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type resource, null given in /home/hogehoge/hogehoge/wp-admin/includes/class-wp-filesystem-ftpext.php:146 Stack trace: #0 /home/hogehoge/hogehoge/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget() #1 /home/hogehoge/hogehoge/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tagdiv-theme-plugins-setup.php(351): WP_Filesystem_FTPext->get_contents() #2 /home/hogehoge/hogehoge/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(1977): tagdiv_theme_plugins_setup->theme_plugin_has_update() #3 /home/hogehoge/hogehoge/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(1836): TGM_Plugin_Activation->does_plugin_have_update() #4 /home/hogehoge/hogehoge/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(422): TGM_Plugin_Activation->is_tgmpa_complete() #5 /home/hogehoge/hogehoge/wp-includes/class-wp-hook.php(308): TGM_Plugin_Activation->init() #6 /home/hogehoge/hogehoge/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #7 /home/hogehoge/hogehoge/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/hogehoge/hogehoge/wp-settings.php(617): do_action() #9 /home/hogehoge/hogehoge/wp-config.php(105): require_once(‘…’) #10 /home/hogehoge/hogehoge/wp-load.php(50): require_once(‘…’) #11 /home/hogehoge/hogehoge/wp-admin/admin.php(34): require_once(‘…’) #12 /home/hogehoge/hogehoge/wp-admin/plugins.php(10): require_once(‘…’) #13 {main} thrown in /home/hogehoge/hogehoge/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146
Hello,
We can take a look and check the problem.
Please get in touch with us via email at contact@tagdiv.com and provide the wp-admin access and the cPanel access and include a link to this topic.
Thank you!