I am testing your plugin in wamp server. When I put define(‘WP_DEBUG’, true); in config.php I get undefined variable error in grid-products.php on line 350. When I checked line 350 it is wp_enqueue_style(‘products’, plugins_url(‘styles.css’, __FILE__), false, $product_version, ‘screen’); How to resolve the issue. Thanks in advance.
- The topic ‘How can I get rid of undefined variable error’ is closed to new replies.