• thenewbreed

    (@thenewbreed)


    EXPLANATION OF THE ISSUE

    The fields for Regular Price, Sale Price, and the Shipping Dimensions now have an image URL replacing their original info.

    I am using WooCommerce as a catalogue and am getting the following error message in the backend under the Product Attributes options:

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 112

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 114

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 116

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 117

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 112

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 114

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 116

    Warning: date() expects parameter 2 to be long, string given in /nas/content/staging/bahamafood1/wp-includes/functions.php on line 117

    STEPS TO REPRODUCE THE ISSUE

    This is a staging site. I installed the following plugins which all worked correctly:

    Media File Renamer
    Media Library Categories
    Phoenix Media Rename
    Woo Custom Stock Status

    Other things I did were to turn off “Stock Management” option and then turn it back on. I also have another user (role is “Editor”) logged in and updating products in WooCommerce including adding images. The URL that is an image URL showing up in the wrong places is a file that she uploaded. This file also showed up as the background of the Menu on the front of the page. I deleted the image.

    I also deactivated all new plugins to no avail.

    FRONT END VIEW

    BACK END

The topic ‘Error URL in Pricing & Dimensions fields + error message Warning: date() expects’ is closed to new replies.