Seeing this warning in the email sent to clients. Please help.
Warning: getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /var/www/wp-content/plugins/ rfqtk-upload/includes/files/ file_functions.php on line 565
Warning: getimagesize(https:// secureservercdn.net/ip-ad. mwp2.iad2.secureserver.net/ wzi.00f.godaddywp.com/wp- content/uploads/2018/12/np_ uploads/A6466DDB-99A8-48FA- BB36-980FB7F141DE.jpeg): failed to open stream: no suitable wrapper could be found in /var/www/wp-content/plugins/ rfqtk-upload/includes/files/ file_functions.php on line 565
Warning: Division by zero in /var/www/wp-content/plugins/ rfqtk-upload/includes/files/ file_functions.php on line 566
Thanks for reporting. This is not error. These are warnings and notices from PHP. We will add additional check to eliminate the warning. The warning says that your server configuration does not allow access to file sizes at that point in the program.
Please turn off debug info and warnings display in production server. Open your php-config.php in your wordpress installation directory and put in the following lines at the beginning . This way you still collect the information in an error log, but not display it to customers. Look for “define(‘WP_DEBUG’, true);” and other duplicate lines and remove them before entering the following lines.
define(‘WP_DEBUG’, true); // Enable WP_DEBUG mode define(‘WP_DEBUG_LOG’, true); // Enable logging to the /wp-content/debug.log file define(‘WP_DEBUG_DISPLAY’, false); // Disable display of errors, notices and warnings on screen