Unable to insert content from Media Library
-
Hi, when I try to insert an image into a page from the media library with the blocks editor the Media Library browser shows no images and on the server I see the following error:
[Tue Sep 17 04:41:02.320993 2024] [php:error] [pid 294832:tid 294832] [client 154.266.44.154:53766] PHP Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/www.mysite.com/site/web/wp/wp-admin/includes/class-wp-filesystem-ftpext.php:146\nStack trace:\n#0 /var/www/www.mysite.com/site/web/wp/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget(NULL, Resource id #289, ‘/var/www/www.my…’, 2)\n#1 /var/www/www.mysite.com/site/web/app/plugins/svg-support/functions/attachment.php(81): WP_Filesystem_FTPext->get_contents(‘/var/www/www.my…’)\n#2 /var/www/www.mysite.com/site/web/app/plugins/svg-support/functions/attachment.php(34): bodhi_svgs_get_dimensions(‘/var/www/www.my…’)\n#3 /var/www/www.mysite.com/site/web/wp/wp-includes/class-wp-hook.php(324): bodhi_svgs_response_for_svg(Array, Object(WP_Post), false)\n#4 /var/www/www.mysite.com/site/web/wp/wp-includes/plugin.php(205):
If I turn off the SVG plugin then it works fine.
Plugin version: 2.5.8
WordPress: 6.6.2
PHP: 8.3.6
- You must be logged in to reply to this topic.