URGENT HELP NEEDED - Error after updating from version 3.3.5.1
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from ModernWebStudios on April 26, 2024, 11:42We are getting an error when updating to the latest version after some of your security updates. Flooding the error log with errors literally 1 to 2 per second. It's not only throwing the error I included below but dramatically slowing down the site and server it's on. The error appears right after we update the plugin from the 3.3.5.1 version. (It also did it when updating to version 3.3.5.2)
[26-Apr-2024 09:31:37 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%i ORDER BY title asc' at line 1 for query SELECT * FROM %i ORDER BY title asc made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/woocommerce-products-filter/index.php'), WOOF->__construct, WOOF->init_extensions, apply_filters('woof_add_html_types'), WP_Hook->apply_filters, WOOF_SD->{closure}, WOOF_SD->get_elements
We are getting an error when updating to the latest version after some of your security updates. Flooding the error log with errors literally 1 to 2 per second. It's not only throwing the error I included below but dramatically slowing down the site and server it's on. The error appears right after we update the plugin from the 3.3.5.1 version. (It also did it when updating to version 3.3.5.2)
[26-Apr-2024 09:31:37 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%i ORDER BY title asc' at line 1 for query SELECT * FROM %i ORDER BY title asc made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/woocommerce-products-filter/index.php'), WOOF->__construct, WOOF->init_extensions, apply_filters('woof_add_html_types'), WP_Hook->apply_filters, WOOF_SD->{closure}, WOOF_SD->get_elements
Quote from Pablo Borysenco on April 26, 2024, 12:21Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Try in Advanced->Options paste smart_designer in this field - https://share.pluginus.net/image/i20240426132131.png
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Try in Advanced->Options paste smart_designer in this field - https://share.pluginus.net/image/i20240426132131.png
Quote from ModernWebStudios on April 26, 2024, 13:45Thank you, that seems to have fixed the problem.
We encountered another issue that was a pretty big one. Randomly throughout the day the shop page (archive pages of all kinds) would just go blank. This was our fix for it but it would be nice to get this implemented into the plugin.
This was our fix:
// FIX WOO BLANK PAGE ISSUE
add_action('woof_hourly_event', 'woof_do_this_hourly');
function woof_activation() {
if ( !wp_next_scheduled( 'woof_hourly_event' ) ) {
wp_schedule_event(time(), 'hourly', 'woof_hourly_event'); }
}
add_action('wp', 'woof_activation');
function woof_do_this_hourly() {
global $wp_rewrite; $wp_rewrite->flush_rules();
}
// END FIX WOO BLANK PAGE ISSUE
We run cron which executes $wp_rewrite->flush_rules(); in order to prevent the issue which is happening every day around 2-3AMThe issue can be also fix by resaving the Woof settings page in admin (I might be mistaken but we might have only had to load the page, not even save it)
Thank you, that seems to have fixed the problem.
We encountered another issue that was a pretty big one. Randomly throughout the day the shop page (archive pages of all kinds) would just go blank. This was our fix for it but it would be nice to get this implemented into the plugin.
This was our fix:
// FIX WOO BLANK PAGE ISSUE
add_action('woof_hourly_event', 'woof_do_this_hourly');
function woof_activation() {
if ( !wp_next_scheduled( 'woof_hourly_event' ) ) {
wp_schedule_event(time(), 'hourly', 'woof_hourly_event'); }
}
add_action('wp', 'woof_activation');
function woof_do_this_hourly() {
global $wp_rewrite; $wp_rewrite->flush_rules();
}
// END FIX WOO BLANK PAGE ISSUE
Quote from Pablo Borysenco on April 29, 2024, 11:30Hello
very strange! I'll pass this on to the developers
thank you for your cooperation
Hello
very strange! I'll pass this on to the developers
thank you for your cooperation
Quote from ModernWebStudios on May 3, 2024, 13:08Any word on this?
Any word on this?
Quote from Pablo Borysenco on May 6, 2024, 09:58Hello
Answer from the developers: The plugin does not contain functionality that will break permalinks
This looks like a conflict with a third party plugin.
You can disable the filter and test the site (whether this error will happen again)
Hello
Answer from the developers: The plugin does not contain functionality that will break permalinks
This looks like a conflict with a third party plugin.
You can disable the filter and test the site (whether this error will happen again)