Title: samwebdev's Replies | WordPress.org

---

# samwebdev

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/samwebdev/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/samwebdev/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/samwebdev/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets] Bug: Downloaded file adds head text](https://wordpress.org/support/topic/bug-downloaded-file-adds/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bug-downloaded-file-adds/#post-12533398)
 * The bug is related to XML parse; xml downloads correctly when Stream Reader is
   enabled.
 * Do you plan for a fix for XMLReader? (XMLReader is much faster, but has a bug
   that sometimes prevents certain records from being imported with import files
   that contain special cases.)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets] Bug: Downloaded file adds head text](https://wordpress.org/support/topic/bug-downloaded-file-adds/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bug-downloaded-file-adds/#post-12533051)
 * Replicate:
 * [http://sore-pony.w5.wpsandbox.pro/wp-admin/admin.php?page=pmxi-admin-import&action=index](http://sore-pony.w5.wpsandbox.pro/wp-admin/admin.php?page=pmxi-admin-import&action=index)
 * Sample file:
    [https://cdn-09.anonfile.com/91cabah8o4/3b082bd4-1583942665/update1.xml](https://cdn-09.anonfile.com/91cabah8o4/3b082bd4-1583942665/update1.xml)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YITH Frequently Bought Together for WooCommerce] Compatibility issue: Elastic Press (Elasticsearch)](https://wordpress.org/support/topic/compatibility-issue-elastic-press-elasticsearch/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/compatibility-issue-elastic-press-elasticsearch/#post-12515317)
 * Sorry this is for product slider plugin:
 * [https://wordpress.org/support/topic/compatibility-issue-elastic-press-elasticsearch-2/](https://wordpress.org/support/topic/compatibility-issue-elastic-press-elasticsearch-2/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Two Factor Authentication] Bug: 1.7.0 Fatal Error](https://wordpress.org/support/topic/bug-1-7-0-fatal-error/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/bug-1-7-0-fatal-error/#post-12323372)
 * Sure thing!
 * Cheers
    -  This reply was modified 6 years, 4 months ago by [samwebdev](https://wordpress.org/support/users/samwebdev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin Organizer] Bug: Regex – request to add regex](https://wordpress.org/support/topic/bug-regex-request-to-add-regex/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/bug-regex-request-to-add-regex/#post-12223598)
 * Fuzzyurl is enabled, and is working with a single *, such as products/*/ where
   it does disable plugins for
 * products/tesla-car
    products/macbook-pro
 * etc, nothing worked for /categories/categorya/categoryb/categoryc etc.
 * ended up using regex with a must use plugin.
 * if you get a chance, please implement regex solution in addition to *.
 * regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Two Factor Authentication] Bug: You must enter a username](https://wordpress.org/support/topic/bug-you-must-enter-a-username/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/bug-you-must-enter-a-username/#post-12131442)
 * It looks like Digits plugin is causing issue with the login.
 * closing ticket.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] Bug: Login error The message is not valid because it contains no message or html](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html-2/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html-2/#post-11597671)
 * Bug is related to
 * [https://wordpress.org/plugins/wp-mail-logging/](https://wordpress.org/plugins/wp-mail-logging/)
 * plugin.
 * Closing the ticket.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPML Multilingual & Multicurrency for WooCommerce] Bug: Login error The message is not valid because it contains no message or html](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html-2/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html-2/#post-11594060)
 * Hello Andreas,
 * Its 4.6.3, sorry for the typo.
 * * The issue is with all user accounts login
    * There is a custom url assigned
   and issue seems to be for all translations * Even with the ‘error’ text printed
   as the notice, the user is actually logged in, and they can go to their account.
 * 4.6.2.1 doesn’t seem to have this issue.
 * Please let me know if you need any assistance in debugging the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] Bug: Login error The message is not valid because it contains no message or html](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/bug-login-error-the-message-is-not-valid-because-it-contains-no-message-or-html/#post-11589489)
 * Hello,
 * The issue seems to be with the woocommerce-multilingual plugin v4.3
 * [https://wordpress.org/plugins/woocommerce-multilingual/](https://wordpress.org/plugins/woocommerce-multilingual/)
 * Closing the ticket.
 * Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Bug fix: Restarting a deleted feed](https://wordpress.org/support/topic/bug-fix-restarting-a-deleted-feed/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/bug-fix-restarting-a-deleted-feed/#post-11258258)
 * Hello Eva,
 * Did you get a chance to add/test this logic?
 * Would like to hear your take on this; it seems to work for us.
 * We just added/tested for google_shopping hence line 702; it could also be added
   for all, such as
 * for Yandex around line 707
 * if ( ($header == “true”) AND ($feed_config[‘nr_products_processed’] == 0) || !
   file_exists( $file ) ) {
 * if ($feed_config[‘name’] == “Yandex”) {
 * etc as needed.
 * Regards,
 * Sam
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Object Cache Enhancement: could be used until cache group is implemented](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/#post-11258245)
 * Hello Eva,
 * It looks like every project/product update/refresh needs to be flushed.
 * It might be better to add the flush to constructor (if any); if not these functions
   seem to require a cache flush:
 * function woosea_project_delete(){
    function woosea_project_processing_status(){
   function woosea_project_copy(){ function woosea_project_refresh(){ function woosea_project_status(){
   function woosea_update_project_history($project_hash){ function woosea_create_all_feeds(){
   function woosea_nr_products($project_hash, $nr_products){ function woosea_last_updated(
   $project_hash){ function woosea_continue_batch($project_hash){
 * I will keep testing it with
 * function woosea_continue_batch($project_hash){
    // Flush caching wp_cache_flush();
 * ..
 * for multiple exports with more than 25K products, and update it here.
 * If you can please also test it on your side (with Redis and/or any other object
   cache installed).
 * Changing the status of the ticket to unresolved in the mean time.
 * Regards,
 * Sam
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Object Cache Enhancement: could be used until cache group is implemented](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/#post-11254636)
 * Hello Eva,
 * Thanks just downloaded the new version.
 * One question though:
 * If you implement cache flush after the feed is requested, you may get the old
   data from database:
 *     ```
       $feed_config = get_option( 'cron_projects' );
        $nr_projects = count ($feed_config);
   
        // Flush caching
        wp_cache_flush();
       ```
   
 * Could you move the
 *  // Flush caching
    wp_cache_flush();
 * lines right after the functions, line 2645 and 2491 respectively:
 *     ```
       	public function woosea_project_update($project_hash, $offset_step_size){
       		// Flush caching
       		wp_cache_flush();
   
       		$feed_config = get_option( 'cron_projects' );
       		$nr_projects = count ($feed_config);
       ```
   
 * and
 *     ```
       function woosea_continue_batch($project_hash){
       	// Flush caching
       	wp_cache_flush();
   
           $batch_project = "batch_project_".$project_hash;
       	$val = get_option( $batch_project );
       ```
   
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Object Cache Enhancement: could be used until cache group is implemented](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/#post-11254235)
 * Hello Eva,
 * In order to update the processing, its best to add these to 2 more lines:
 * woocommerce-sea.php
 * function woosea_continue_batch($project_hash){
    wp_cache_flush();
 * around line 2644
 * class-get-products.php
 * public function woosea_project_update($project_hash, $offset_step_size){
    wp_cache_flush();
 * around line line 2493
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Process does not restart if tmp file is deleted and/or process cancelled](https://wordpress.org/support/topic/process-does-not-restart-if-tmp-file-is-deleted-and-or-process-cancelled/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/process-does-not-restart-if-tmp-file-is-deleted-and-or-process-cancelled/#post-11250581)
 * Hello Eva,
 * Found out the issue, its not related to object cache.
 * There seems to be a logic missing.
 * Will open a new topic for the fix.
 * Edit: [https://wordpress.org/support/topic/bug-fix-restarting-a-deleted-feed/](https://wordpress.org/support/topic/bug-fix-restarting-a-deleted-feed/)
 * Regards
    -  This reply was modified 7 years, 3 months ago by [samwebdev](https://wordpress.org/support/users/samwebdev/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Object Cache Enhancement: could be used until cache group is implemented](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/)
 *  Thread Starter [samwebdev](https://wordpress.org/support/users/samwebdev/)
 * (@samwebdev)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/object-cache-enhancement-could-be-used-until-cache-group-is-implemented/#post-11233174)
 * Hello Eva,
 * It works, thanks.
 * Please also work on the cache group feature, it should solve the cache issue 
   for all.
 * Thanks,
 * Sam

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/samwebdev/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/samwebdev/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/samwebdev/replies/page/2/?output_format=md)