White Label Plugin Errors

Hi,

I have a brand-new website, which went live this afternoon. On the development sudomain everything worked perfectly as it was tested.

However, in its live location, the White Label plugin shows errors above the login form:

**Warning** : getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **28**

**Warning** : getimagesize(https://www.mjwarchitects.com/wp-content/uploads/mjw-architects-logo-white-bg.png): Failed to open stream: no suitable wrapper could be found in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **28**

**Warning** : Trying to access array offset on false in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **31**

**Warning** : Trying to access array offset on false in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **31**

**Warning** : Trying to access array offset on false in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **34**

**Warning** : Trying to access array offset on false in  **/home/mjwarchi/public_html/wp-content/plugins/tco-white-label/functions/enqueue/styles.php**  on line  **34**:

Before you ask, PHP INI setting allow_url_fopen=1 is turned on and I have done the standard plugin conflict tests.

Thanks,
Christopher

Hello Christopher,

Thanks for posting in!

It seems that the “allow_url_fopen” is disabled in your server.
Check the URL in the secure note below.

Best Regards.

Hi @ruenel,

Thanks for your reply. However, something looks strange as in cPanel, the setting shows as being switched on - see the screenshot below.

If it is on, does it come into effect immediately, or does this sort of setting require the web host to restart the service?

Thanks,
Christopher

Hey Christopher,

PHP warnings are not harmful and they should be hidden in a live site for security purposes. To hide warnings, do the following:

  1. Access your site files via FTP/SFTP or your hosting File Manager.
  2. Edit the file and look for the line that says define( ‘WP_DEBUG’, … );.
  3. Replace or add the following lines just above /* That’s all, stop editing! Happy publishing. */:
// Enable Debugging
define( 'WP_DEBUG', true );

// Write errors to /wp-content/debug.log
define( 'WP_DEBUG_LOG', true );

// Disable the display of errors and warnings on the screen
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

We will investigate the warnings internally and fix if needed.

Thanks.

Thank you.

Hi Christopher,

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.