Title: rocket.works - Dominik Friedrich's Replies | WordPress.org

---

# rocket.works - Dominik Friedrich

  [  ](https://wordpress.org/support/users/rocketworks/)

 *   [Profile](https://wordpress.org/support/users/rocketworks/)
 *   [Topics Started](https://wordpress.org/support/users/rocketworks/topics/)
 *   [Replies Created](https://wordpress.org/support/users/rocketworks/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/rocketworks/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/rocketworks/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/rocketworks/engagements/)
 *   [Favorites](https://wordpress.org/support/users/rocketworks/favorites/)

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Category images are not getting saved](https://wordpress.org/support/topic/category-images-are-not-getting-saved/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/category-images-are-not-getting-saved/#post-15122105)
 * [@rainfallnixfig](https://wordpress.org/support/users/rainfallnixfig/) sorry 
   for the delay.
 * The issue still exists and I enabled the log.
 * We get the following issue after trying to save the image:
 * `[01-Dec-2021 15:49:01 UTC] WordPress-Datenbank-Fehler Duplicate entry '0' for
   key 'PRIMARY' für Abfrage INSERT INTO`livewp_termmeta`(`term_id`,`meta_key`,`
   meta_value`) VALUES (1554, ‘display_type’, ”) von wp_update_term, do_action(‘
   edit_term’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Taxonomies-
   >save_category_fields, update_term_meta, update_metadata, add_metadata
    [01-Dec-
   2021 15:49:01 UTC] WordPress-Datenbank-Fehler Duplicate entry ‘0’ for key ‘PRIMARY’
   für Abfrage INSERT INTO `livewp_termmeta` (`term_id`, `meta_key`, `meta_value`)
   VALUES (1554, ‘thumbnail_id’, ‘6727’) von wp_update_term, do_action(‘edit_term’),
   WP_Hook->do_action, WP_Hook->apply_filters, WC_Admin_Taxonomies->save_category_fields,
   update_term_meta, update_metadata, add_metadata`
 * I already tried to repair the table, but without any effect.
    -  This reply was modified 4 years, 5 months ago by [rocket.works - Dominik Friedrich](https://wordpress.org/support/users/rocketworks/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Category images are not getting saved](https://wordpress.org/support/topic/category-images-are-not-getting-saved/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/category-images-are-not-getting-saved/#post-15072548)
 * Hello [@oaoyadeyi](https://wordpress.org/support/users/oaoyadeyi/) , thank you
   for you reply.
 * Unforunatly, the issue still exists. We tried to disable ALL Plugins, then only
   re-enable the WooCommerce Plugin and activate a fresh installed Storefront theme.
 * The category images are still not saving.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] flush_rewrite_rules breaks account sub-pages](https://wordpress.org/support/topic/flush_rewrite_rules-breaks-account-sub-pages/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/flush_rewrite_rules-breaks-account-sub-pages/#post-13765218)
 * Hello!
 * I looked again into the issue. It seems to break when updating WooCommerce.
    
   So WooCommerce itself breaks the WooCommerce permalinks.
 * The issue is not resolved, could you reopen it please?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] front end admin blank](https://wordpress.org/support/topic/front-end-admin-blank/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/front-end-admin-blank/#post-13155455)
 * We got exactly the same problem.
 * It seems autoptimize loads a single css files with the only content of:
 * `#wpadminbar{display:none}`
 * That is extremely strange.
 * As a quick workaround, just add the following css to the Custom CSS in the customizer:
 *     ```
       html #wpadminbar {
           display: block;
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Notification - Custom Notifications and Alerts for WordPress] Error after Update: Fatal error: Uncaught Error: Call to undefined method Closur](https://wordpress.org/support/topic/error-after-update-fatal-error-uncaught-error-call-to-undefined-method-closur/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-after-update-fatal-error-uncaught-error-call-to-undefined-method-closur/#post-12616075)
 * Ah!
 * Thank you very much! The project is not running on our servers, so we weren’t
   aware it was not up to date!
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Multiple dynamic dropdown fields](https://wordpress.org/support/topic/multiple-dynamic-dropdown-fields/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/multiple-dynamic-dropdown-fields/#post-11907158)
 * Hello Takayuki,
 * thanks for the fast replay.
 * I just tried it again. I followed the tutorial, the validator gets called correctly,
   but the $result->invalidate seems not to work. The form gets sent anyways.
 * Here is my simplified example code:
 *     ```
       add_action( 'wpcf7_init', 'rw_add_form_tag_kursdropdown' );
   
       function rw_add_form_tag_kursdropdown() {
       		wpcf7_add_form_tag( 'kursauswahldropdown', 'rw_kurs_dropdpow_form_hander' );
       }
   
       function rw_kurs_dropdpow_form_hander( $tag ) {
       	$atts = array(
       		'type' => 'text',
       		'name' => 'kurs',
       	);
   
       	$input = sprintf(
       			'<input %s />',
       			wpcf7_format_atts( $atts ) );
   
       	return $input;
       }
   
       function rw_kurs_dropdown_validation( $result, $tag ) {
       	if ( 'kursauswahldropdown' == $tag->type ) {
       		$result->invalidate( $tag, "Are you sure this is the correct address?" );
       	}
   
       	return $result;
       }
   
       add_filter( 'wpcf7_validate_kursauswahldropdown', 'rw_kurs_dropdown_validation', 1, 2 ); 
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Compliance by Hu-manity.co] Compatible with W3 Total Cache](https://wordpress.org/support/topic/compatible-with-w3-total-cache-9/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatible-with-w3-total-cache-9/#post-10366731)
 * [@faircams](https://wordpress.org/support/users/faircams/) I guess you are not
   using a page cache, like W3C?
 * If you do, try clearing the cache and reopen the site with an browser that has
   the accepted cookie already set. Now, open the site in a browser without the 
   cookies set (or clear the cookies). You won’t get the cookie banner, because 
   the page got cached without the cookie banner part.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Compliance by Hu-manity.co] Compatible with W3 Total Cache](https://wordpress.org/support/topic/compatible-with-w3-total-cache-9/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/compatible-with-w3-total-cache-9/#post-10354628)
 * It seems the plugin is not working propably with any caching solution.
 * If the site gets cached for the first time by a user with the consent already
   given, the cached page won’t have the plugin in it. So the next time a user without
   the consent given opens the site, he won’t get the message.
 * Is there a way to have the plugin always included in your site, so it will be
   cached no matter what?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Order Export for WooCommerce] select2.js error after updating to WooCommerce 3.0](https://wordpress.org/support/topic/select2-js-error-after-updating-to-woocommerce-3-0/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/select2-js-error-after-updating-to-woocommerce-3-0/page/3/#post-9315665)
 * I had the same problem.
    Make sure you update your ACF Plugin, too.
 * This fixed the issue for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[FG Joomla to WordPress] 1000 Posts Limit?](https://wordpress.org/support/topic/1000-posts-limit/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/1000-posts-limit/#post-6735480)
 * Ahh, ok! I didn’t get any error message.
    But with the resume, it worke!
 * I thought pressing the button again will mess up everything! 🙂
 * Thank you very much!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Store Locator Plus®] Update breaks plugin!](https://wordpress.org/support/topic/update-breaks-plugin-5/)
 *  Thread Starter [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/update-breaks-plugin-5/#post-6624352)
 * Hello! Thank you for your reply.
 * It is no other plugin that breaks your path. I got WordPress installed (4.3.1)
   in a sub folder and the content folder (with the plugins) is in another folder
   as well with another name.
 * This is not the default setup, but a saver one.
 * The problem in your plugin is the wrong use of a variable.
 * I guess you are using dirname(__FILE__) or the WP plugin_dir_path( $file ) to
   get the plugin path. This is ok for PHP scripts (you will get the full server
   path). Unfortunatly, this is not ok for URLs like for the import of your CSS 
   scripts, images, js, etc.
 * What you want use is: plugins_url()
 * You can find more information here:
    [https://codex.wordpress.org/Function_Reference/plugins_url](https://codex.wordpress.org/Function_Reference/plugins_url)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Product Review Lite] add custom image size to top produtcs widget](https://wordpress.org/support/topic/add-custom-image-size-to-top-produtcs-widget/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/add-custom-image-size-to-top-produtcs-widget/#post-6474011)
 * Thank you for the fast reply. I noticed already that the overview is using a 
   new thumbnail format and it is already I huge improvement.
 * Unfortunately even the thumbnail format is way to big for the widget (thumbnail
   is 150px vs 50px). So the image gets scaled down 3 times the size.
    This has 
   a huge negative impact on the google pagespeed ranking.
 * Is it possible that you guys change the widget thumbnail with a smaller (50×50
   or so) version of the image? This would greatly enhance the plugin.
 * Cheers,
    Dom from rocket.works
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Product Review Lite] add custom image size to top produtcs widget](https://wordpress.org/support/topic/add-custom-image-size-to-top-produtcs-widget/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/add-custom-image-size-to-top-produtcs-widget/#post-6474004)
 * + this!
 * This would be a huge and very easy improvement. Would be awesome if the developer
   could implement, that the widget is using a smaller (50×50 or 50×51) image.
 * At the moment, the widget slows down the site and has a really huge impact on
   the google pagespeed (you can even score a solid 1 with it).
 * Can you guys (the developers) implement it? Won’t take long I guess?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Product Review Lite] Widget display huge thumbnails / rating image since upgrade](https://wordpress.org/support/topic/widget-display-huge-thumbnails-rating-image-since-upgrade/)
 *  [rocket.works – Dominik Friedrich](https://wordpress.org/support/users/rocketworks/)
 * (@rocketworks)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/widget-display-huge-thumbnails-rating-image-since-upgrade/#post-6494645)
 * I have exactly the same problem! The update breaks all widgets.
    Can we get a
   roll-back, please?

Viewing 14 replies - 1 through 14 (of 14 total)