• When I click on Edit product I am getting the following 2 warnings. I am still able to edit the product but having errors/warning show up won’t look good to the client. Appreciate any help.

    Warning: Missing argument 1 for get_post(), called in /public_html/wp-content/plugins/wp-e-commerce/wpsc-admin/media.php on line 11 and defined in /home/nschiro/public_html/wp-includes/post.php on line 380

    Warning: array_map() expects parameter 1 to be a valid callback, function ‘wp_prepare_attachment_for_js’ not found or invalid function name in /public_html/wp-content/plugins/wp-e-commerce/wpsc-admin/media.php on line 94

    https://www.ads-software.com/plugins/wp-e-commerce/

Viewing 1 replies (of 1 total)
  • Warnings are just warnings. Developers *should* write code that runs without warnings, but not all do. On a live site you should not be displaying warnings on screen anyway. But in development it’s useful. Check your php.ini.

Viewing 1 replies (of 1 total)
  • The topic ‘Warnings recieved when editing products’ is closed to new replies.