Theme is not activating for Sub Domain

Posted in: Newspaper
Post count: 7

https://bal-1.dailytopfeeds.com/wp-admin/
I got an error when I am trying to access the admin area
it says the Theme is not activating

Fatal error: Uncaught Error: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given
in /var/www/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

Call stack:

ftp_fget()
wp-admin/includes/class-wp-filesystem-ftpext.php:146
WP_Filesystem_FTPext::get_contents()
/mnt/dtf-wp-content/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tagdiv-theme-plugins-setup.php:351
tagdiv_theme_plugins_setup::theme_plugin_has_update()
/mnt/dtf-wp-content/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php:1977
TGM_Plugin_Activation::does_plugin_have_update()
/mnt/dtf-wp-content/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php:1836
TGM_Plugin_Activation::is_tgmpa_complete()
/mnt/dtf-wp-content/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php:422
TGM_Plugin_Activation::init()
wp-includes/class-wp-hook.php:308
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332
WP_Hook::do_action()
wp-includes/plugin.php:517
do_action()
wp-settings.php:623

Post count: 27744

Hello,

Please let me know what PHP version you have, also, if you use a child theme.
Also, please check this file permission. Our theme to work properly need to have files and folders permissions set as WordPress permissions -> https://wordpress.org/support/article/changing-file-permissions/ -> https://wordpress.org/support/topic/warning-ftp_fget-expects-parameter-1-to-be-resource-null-given-in/

Thank you!

Post count: 7

the older server had 7.2 PHP, but now we have upgraded to the latest version

Post count: 27744

Hi,

I recommend updating to PHP version 8.0 or 8.1, but not 8.2; and check after the results.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.