Hi @blinkito,
Do you have the latest version of this plugin, which currently is 4.2.6? Also, what version of PHP do you have?
I look forward to hearing from you.
Kind regards,
Herman 😊
Hi,
I have installed a local web server.
XAMPP for Linux 8.2.12-0
I work in http://localhost/
My website is on WordPress, it works through XAMPP in http://localhost /, on my computer.
May 30, 2024.
I have installed the plugin.
Starter Templates — Elementor, WordPress & Beaver Builder Templates.
Version 4.2.6.
I have a wordpress error.
After removing all plugins. I have installed and activated the Starter Templates plugin. WordPress throws an error.
in the plugins folder. after deleting the Starter Templates plugin.. By deleting the folder with all the Starter Templates files..
Wordpress is working.
The error is in the same file, in the same line.
wp-content/plugins/astra-sites/inc/lib/ai-builder/inc/ajax/ajax-init.php on line 57
Deprecated: Creation of dynamic property AiBuilder\Inc\Ajax\AjaxInit::$AiBuilder\Inc\Ajax\Importer is deprecated in /opt/lampp/htdocs/vorotadelay/wp-content/plugins/astra-sites/inc/lib/ai-builder/inc/ajax/ajax-init.php on line 57
Deprecated: Creation of dynamic property AiBuilder\Inc\Ajax\AjaxInit::$AiBuilder\Inc\Ajax\Plugin is deprecated in /opt/lampp/htdocs/vorotadelay/wp-content/plugins/astra-sites/inc/lib/ai-builder/inc/ajax/ajax-init.php on line 57
Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /opt/lampp/htdocs/vorotadelay/wp-admin/includes/class-wp-filesystem-ftpext.php:212 Stack trace: #0 /opt/lampp/htdocs/vorotadelay/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput(NULL, '/opt/lampp/htdo…', Resource id #1257, 2) #1 /opt/lampp/htdocs/vorotadelay/wp-content/plugins/astra-sites/inc/classes/class-astra-sites-importer-log.php(75): WP_Filesystem_FTPext->put_contents('/opt/lampp/htdo…', '') #2 /opt/lampp/htdocs/vorotadelay/wp-includes/class-wp-hook.php(324): Astra_Sites_Importer_Log->has_file_read_write('') #3 /opt/lampp/htdocs/vorotadelay/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /opt/lampp/htdocs/vorotadelay/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /opt/lampp/htdocs/vorotadelay/wp-admin/admin.php(175): do_action('admin_init') #6 /opt/lampp/htdocs/vorotadelay/wp-admin/post.php(12): require_once('/opt/lampp/htdo…') #7 {main} thrown in /opt/lampp/htdocs/vorotadelay/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212
once is an accident, two is a coincidence, three is a pattern.
Hi @siberiafalcon,
Please try the same scenario on a live site environment. You can try a free service like ZipWP and see if you are still facing the same issue.
Anyway, as per the forum guidelines, please start your own topic. You are welcome to cross-link it to this thread, so we are aware of both.
Kind regards,
Herman 😊
Hi, sorry I had no time to answer until now.
I had the latest version. Otherwise, I’ve checked there was an update for the plugin so I updated to version 4.3.1 and the issue is still happening.
I am running another wordpress website on the server and tried to install and activate the Starter Templates plugin there, but I got the same issue.
Both WordPress sites are running WordPress at version 6.5.4 and Starter Templates Plugin at 4.3.1
Any help would be appreciate.
Hi, for future readers, I found a solution googleing around. It was just as simple as adding this line to the wp-config.php file:
if ( ! defined( 'FS_METHOD' ) ) define( 'FS_METHOD', 'direct' );
Thanks for your time.
Hi @blinkito,
Very pleased to know that you have solved it. Thanks for sharing the way you fix it too.
Kind regards,
Herman 😊