AI Engine crashes WordPress without define(‘FS_METHOD’, ‘direct’);
-
Without define(‘FS_METHOD’, ‘direct’); set, which is the default, AI Engine causes WordPress to crash. Visitors will be prompted to enter FTP credentials.
The problem appears to be in classes/logging.php at this line: $creds = request_filesystem_credentials(site_url(), ”, false, false, []); If I remove this line, the plugin functions, but dev logging stops working.
I’m curious why request_filesystem_credentials is needed for a logging feature. If the plugin can’t write to uploads, it doesn’t make sense to prompt site visitors for credentials.
The topic ‘AI Engine crashes WordPress without define(‘FS_METHOD’, ‘direct’);’ is closed to new replies.