staticweb
Forum Replies Created
-
Hello WebToffee Support,
a screen recording should not be necessary, as it is really only about the cancel url.
Unfortunately, I don’t have a log of this incident and can’t recreate it at the moment due to time constraints.
“Is there a way to customize the PayPal cancel url for the Smart Button variant? Possibly via a hook?” – Could I still get an answer to this?
Thank you for the quick reply.
I am actually concerned with the translation of the mail templates in the directory: /wp-content/plugins/mailin/inc/templates
There and in the code, only translations for the languages English and French are provided.
But I need German mail templates without changing the code in the plugin to avoid update problems.
The current workaround is to translate the temp.* files. This is not nice, because they will be overwritten with the next update.
Is there no solution that meets the current WordPress standards?
Also, there is no .pot file for the translation, so I had to use the broken French .po file as a base.
Forum: Plugins
In reply to: [WooCommerce] WC()->session->get() errors after 7.8.0 updateThis file “web/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/StoreApi/Schemas/V1/CheckoutSchema.php” does not belong to the WooCommerce plugin itself, but to the “WooCommerce Blocks” plugin: https://woocommerce.com/de-de/products/woocommerce-gutenberg-products-block/
In the current trunk: https://github.com/woocommerce/woocommerce-blocks/blob/trunk/src/StoreApi/Schemas/V1/CheckoutSchema.php#L124 the line is:'enum' => array_values( WC()->payment_gateways->get_payment_gateway_ids() ),
Which plugin version do you use?
Forum: Plugins
In reply to: [WooCommerce] WC()->session->get() errors after 7.8.0 updateWC()->session is the current live session and you can access other sessions with WC_Session_Handler() object.
The error message means that no session object exists. You can check this with isset() before you access it. It could be that no product has been added to the shopping cart yet or that no user is logged in.
What do the theme developers say about this?
My plugin has code to register the custom post type, change permalinks, … and cannot be removed.
It is a YOAST problem with custom post type and|or changing permalinks.
I changed the function add_filter_links() for custom post type in class-abstract-post-filter.php as bugfix and it works:
public function add_filter_links() { foreach ( $this->get_post_types() as $post_type ) { if( $post_type !== 'xxx' ) { add_filter( 'views_edit-' . $post_type, array( $this, 'add_filter_link' ) ); } } }
Where can I generally disable the link filter for this custom post type (update save)?
- This reply was modified 6 years, 2 months ago by staticweb.
Thanks for quickly response.
I have disabled all plugins, except my own (mu-plugin for custom post type and new taxonomy).
I have upgraded xampp on version 7.2.0.
Same problem! Has YOAST a generally problem with custom post types?
Stack trace:
#0 D:\xampp\htdocs\example\wp-includes\class-wp-hook.php(286): WPSEO_Abstract_Post_Filter->add_filter_link(NULL)
#1 D:\xampp\htdocs\example\wp-includes\plugin.php(203): WP_Hook->apply_filters(NULL, Array)
#2 D:\xampp\htdocs\example\wp-admin\includes\class-wp-list-table.php(375): apply_filters(‘views_edit-xxx’, Array)
#3 D:\xampp\htdocs\example\wp-admin\edit.php(345): WP_List_Table->views()
#4 {main} thrown in D:\xampp\htdocs\example\wp-content\plugins\wordpress-seo\admin\filters\class-abstract-post-filter.php on line 96Thank you for answer as text module.
1. Make sure the issue doesn’t persist when Yoast SEO is disabled.
Works without YOAST and older YOAST Versions.
2. Check for conflicts.
No! Sorry, show reviews from “Health Check” Plugin!
Works without YOAST! Is not a problem with other plugins.
3. Check for JavaScript errors with your console.
FATAL ERROR and JS Errors? No site = no errors!
Forum: Plugins
In reply to: [Product Slider for WooCommerce by PickPlugins] No Product to Slide> Please update WooCommerce 3.0+
Unfortunately, this is currently not possible.
I have now written my own shortcode with the “Owl Carousel”.
Forum: Plugins
In reply to: [Simply Static - The WordPress Static Site Generator] Simply Static & XAMPPHello Scott,
Ok with doubleclick I can write in the box. But this a bad solution. Why doubleclick and why gray font color? Nobody thinks the box is editable.
staticweb