dazamate
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [OceanWP] How to create custom wooCommerce Archieve TemplateI would like to have control to modify in between the header and footer, so take control of the loop contents and the layout in between.
owp-archive-product.php is included in the loop from somewhere else.
Forum: Themes and Templates
In reply to: [OceanWP] How to create custom wooCommerce Archieve TemplateThat file only renders each product passed to it on the product archive page.
I would like the file that renders the whole template. another file must be including owp-archive-product.php, and I wasn’t able to find it.
- This reply was modified 6 years, 2 months ago by dazamate.
Thanks very much mate.
Hi there,
It’s just a standard log entry we send, you might want to set the debug off your site and set it on only in case of problems. This is a success indication so no need to be worried about it!Cmon, man that’s not a satisfactory response.
I just came here to report the issue – my error log was over 10MB in size! Filled with spam messages about a SUCCESSFUL event.
The error log is for ERRORS! This will print regardless if your site is in debug mode or not!
Please remove this line of code in file /includes/opinionstage-utility-functions.php
For anyone else looking to stop this, you need to comment out the line I’ve shown below.
I hope the opinion stage crew will remove this, or work something else out in the next update.
function opinionstage_register_javascript_asset( $name, $relative_path, $deps=array(), $in_footer=true ) { $registered = wp_register_script( opinionstage_asset_name($name), plugins_url( opinionstage_asset_path().'/js/'.$relative_path, plugin_dir_path(__FILE__) ), $deps, OPINIONSTAGE_WIDGET_VERSION, $in_footer ); if ( $registered ) { //error_log( "[opinionstage plugin] successfully registered javascript asset '$name'" ); <- problem! Should not write into error log on success } else { error_log( "[opinionstage plugin] ERROR registering javascript asset '$name'" ); } }