When trying to add new product in WooCommerce: Warning: strtotime(): Epoch doesn’t fit in a PHP integer in

[ad_1]

Warning: strtotime(): Epoch doesn’t fit in a PHP integer in C:\wamp\www\wordpress_store\wp-admin\includes\meta-boxes.php on line 382

It’s right above the Publish button. The “offending” piece of code is

`if ( ! empty( $post->post_date_gmt ) && time() < strtotime( $post->post_date_gmt . ‘ +0000’ ) ) :`

I’m using Wamp on my local machine – `$post->post_date_gmt` outputs something like 000-000 00 000.

It publishes the product fine, it’s not a big deal but I just find it annoying.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer