[Support request] Getting warning on upload confirmation to clients

Neah Plugins for WooCommerce Forums RFQ-ToolKit File Upload For WooCommerce Getting warning on upload confirmation to clients

This topic contains 2 replies, has 2 voices, and was last updated by  info3 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9757

    info3
    Participant

    Seeing this warning in the email sent to clients. Please help.email warning

     

    A6466DDB-99A8-48FA-BB36- 980FB7F141DE
    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

    #9758

    Neah Plugins
    Keymaster

    Hi,

    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.

    ini_set(‘display_errors’,0);

    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

    #9761

    info3
    Participant

    We will fix and post results. Thank you for the reply.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.