royrogers
Forum Replies Created
-
You can see the error here (Query Monitor)
https://pasteboard.co/kJ06Psi40Hyy.jpg
- This reply was modified 1 year, 11 months ago by royrogers.
This happens with or without a playlist.
Anyway, I think you should always check for the array key in your PHP code. It maybe doesn’t show the error for you, but may show for others. I use PHP 8.0.22
- This reply was modified 1 year, 11 months ago by royrogers.
The error disappears after updating to wordpress 6.2
Thanks
Forum: Plugins
In reply to: [Super Page Cache] prefetch cache never triggered with no-store header valueI forgot something regarding the no-store reason I mentioned.
I had the same issue using instant.page with perfmatters, flying pages and wp-rocket preloading pages.
For the Flying pages plugin to work there is a “no-store” compatibility check on their settings. If the “no-store” control cache is present, the prefetch cache doesnt work. read more here:
https://www.ads-software.com/support/topic/flying-pages-seems-to-not-be-working-in-my-website/
https://www.ads-software.com/support/topic/no-store-is-found-in-your-cache-control/Thank you
Forum: Plugins
In reply to: [Super Page Cache] prefetch cache never triggered with no-store header valueHi there!
Thank you very much for your reply.
I will try the workers mode
Thanks!
I have the same issue:
Deprecated Required parameter $product_type follows optional parameter $product_id 1 wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:469 Plugin: wc-frontend-manager Deprecated Required parameter $product_type follows optional parameter $product_id 1 wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:524 Plugin: wc-frontend-manager Deprecated Required parameter $item_price follows optional parameter $variation_id 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-commission.php:1043 Plugin: wc-multivendor-marketplace Deprecated Required parameter $quantity follows optional parameter $variation_id 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-commission.php:1043 Plugin: wc-multivendor-marketplace Deprecated Required parameter $commission_rule follows optional parameter $vendor_commission_quantity_rules 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-commission.php:1140 Plugin: wc-multivendor-marketplace Deprecated Required parameter $term follows optional parameter $product_id 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-vendor.php:3116 Plugin: wc-multivendor-marketplace Deprecated Required parameter $cart_item follows optional parameter $cart_item_meta 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-frontend.php:239
helpers/wcfmmp-core-functions.php line 315
function wcfmmp_page_navi( $wp_query , $before = ”, $after = ”) {
More fixes:
wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-vendor.php:3116 public function wcfmmp_save_vendor_taxonomy( $vendor_id, $term, $product_id = 0, $taxonomy = 'product_cat' ) { wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:469 function wcfm_wcrental_product_manage_fields( $product_type, $product_id = 0 ) { wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:524 function wcfm_yithauction_free_product_manage_fields($product_type, $product_id = 0 ) { wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-frontend.php:239 public function wcfmmp_sold_by_cart( $cart_item, $cart_item_meta = array() ) { Deprecated Required parameter $product_type follows optional parameter $product_id 1 wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:469 Plugin: wc-frontend-manager Deprecated Required parameter $product_type follows optional parameter $product_id 1 wp-content/plugins/wc-frontend-manager/core/class-wcfm-integrations.php:524 Plugin: wc-frontend-manager Deprecated Required parameter $cart_item follows optional parameter $cart_item_meta 1 wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-frontend.php:239
So here is the fix:
wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-commission.php line 1043 public function wcfmmp_get_order_item_commission( $order_id, $vendor_id, $product_id, $item_price,$quantity,$variation_id = 0, $commission_rule = '' ) {
line 1140 public function wcfmmp_get_commission_rule_by_quantity_rule( $product_id, $item_price, $quantity, $commission_rule, $vendor_commission_quantity_rules = array() ) {
line 3116
wp-content/plugins/wc-multivendor-marketplace/core/class-wcfmmp-vendor.php:3116 public function wcfmmp_save_vendor_taxonomy( $vendor_id, $term, $product_id = 0, $taxonomy = 'product_cat' ) {
Exactly! Very poor css code, very difficult to customize it.
There are also UI issues like: it is not possible to reset the filter search when using the WooCommerce rating system without multi-criteria. If we click for instance on 5 stars filter there is no way to reset to the default state. This is a major flaw. It should appear a reset/clear button somewhere.Forum: Plugins
In reply to: [WPC Smart Compare for WooCommerce] BUG Deprecated warning still not fixedHi there!
Thanks for your reply. I can’t give you access to my site because is on my local computer under development.
Sorry, but this is not rocket science. The function is deprecated. Woocommerce itself give a deprecation warning and what to do to solve the issue:
-‘WC_Product::get_dimensions’, ‘3.0’, ‘By default, get_dimensions has an argument set to true so that HTML is returned. This is to support the legacy version of the method. To get HTML dimensions, instead use wc_format_dimensions() function. Pass false to this method to return an array of dimensions. This will be the new default behavior in future versions.
Just follow their instructions and problem solved!
wpc-smart-compare.php on line 1156
from
apply_filters( ‘wooscp_product_dimensions’, $product->get_dimensions(), $product );
to
apply_filters( ‘wooscp_product_dimensions’,wc_format_dimensions( $product->get_dimensions(false)),$product );
Thanks again!
Forum: Reviews
In reply to: [Gutenberg] Awful. It has no future.It is not that Laravel is “BETTER”. We can’t compare apple with oranges. But I was expecting something more for the new 5.0 release: WordPress using MVC patterns by default. There are already some frameworks that try to do it:
https://wpmvc.org/
https://framework.themosis.com/
https://typerocket.com/Wordpress could have done something like that instead.
UPDATE: @ate-up-with-motor
Purge URL is not enough. You should also never cache gdpr Cookie.
On wprocket advanced tab:
Never cache (cookies): gdpr
- This reply was modified 6 years, 6 months ago by royrogers.
Ok. I fixed it for wprocket plugin:
go to advanced tab / Always purge (URLs):
/wp-content/plugins/gdpr/(.*)
I have the same issue with wprocket plugin. It doesn’t show up for logged out users