Title: Not Just Code's Replies | WordPress.org

---

# Not Just Code

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Google feed is missing products since mid January](https://wordpress.org/support/topic/google-feed-is-missing-products-since-mid-january/)
 *  [Not Just Code](https://wordpress.org/support/users/notjustcode/)
 * (@notjustcode)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/google-feed-is-missing-products-since-mid-january/#post-18795033)
 * We had this same issue on a client’s site where the number of products would 
   drop dramatically when the daily feed refresh was run.
 * If the update was run manually all products would be restored!?
   The problem was
   traced to a duplicate job in the WordPress Action Scheduler. The second, duplicate
   job was running shortly after the first. The first would complete, move the _tmp
   file to be the real file, the second would write out the last batch to the now
   empty _tmp file and then move the much smaller file to become the feed file –
   hence the drop.
 * If you have this situation where a manual refresh results in the correct number
   of products, but a daily refresh does not, check the Action Scheduler!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Batch Size Bug – memory exhausted, stuck feed generation, server load issue](https://wordpress.org/support/topic/batch-size-bug-memory-exhausted-stuck-feed-generation-server-load-issue/)
 *  Thread Starter [Not Just Code](https://wordpress.org/support/users/notjustcode/)
 * (@notjustcode)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/batch-size-bug-memory-exhausted-stuck-feed-generation-server-load-issue/#post-18690553)
 * We absolutely do want to use the Action Scheduler for feed generation – our apologies,
   the original bug report contained an error. This:
 * _Please consider adding a setting which provides us with the facility to switch
   off processing of the Action Schedule within the webserver._
 * Should have asked:
 * _Please consider adding a setting which provides us with a facility to prevent
   includes/Classes/Heartbeat.php from running the **maybe\_run\_feed\_batch\_action\
   _schedules()** function which is running the action scheduler as part of serving
   an HTTP request. _
 * In other words, please add an extra check box to the settings page with the option**
   Disable HTTP feed generation requests** which would implement our work around
   above.
 * Setting the Refresh option to “no refresh” makes no difference here, as the bug
   is caused by _Hearbeat.php_ repeatedly calling the **maybe_run_feed_batch_action_schedules()**
   function which is overloading the server – this is why so many people are reporting
   the strange behaviour of: stay on the page and feed generation gets stuck, move
   away from the page and feed generation completes.
 * The bug here is repeatedly calling **maybe_run_feed_batch_action_schedules()**
   function in _includes/Classes/Heartbeat.php_.
    -  This reply was modified 6 months, 3 weeks ago by [Not Just Code](https://wordpress.org/support/users/notjustcode/).
      Reason: Formatted the bug report change with italics for clarity and fixed
      a typo in file path in last sentence
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Fatal error: Uncaught Error – no plugins, Php 7.4 or more recent](https://wordpress.org/support/topic/fatal-error-uncaught-error-no-plugins-php-7-4-or-more-recent/)
 *  [Not Just Code](https://wordpress.org/support/users/notjustcode/)
 * (@notjustcode)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-no-plugins-php-7-4-or-more-recent/#post-16282419)
 * When upgrading to php7.4 on WordPress 6.1.1 we had the same error message:
 * > Uncaught Error: Call to undefined function trailingslashit()
 * Rolling back to a previous version of WordPress and leaving PHP 7.4 in place 
   revealed this error message:
 * > Your PHP installation appears to be missing the MySQL extension which is required
   > by WordPress
 * We fixed this by installing the MySQL extension for PHP 7.4.
 * On Debian-based systems, you can do this by running:
 * `sudo apt install php7.4-mysql`
 * at the command line.
 * We restarted php7.4-fpm and the site now runs again on WordPress 6.1.1 and PHP
   7.4.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Infinite Loop on Installation if $tmp_base is not writeable](https://wordpress.org/support/topic/infinite-loop-on-installation-if-tmp_base-is-not-writeable/)
 *  Thread Starter [Not Just Code](https://wordpress.org/support/users/notjustcode/)
 * (@notjustcode)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/infinite-loop-on-installation-if-tmp_base-is-not-writeable/#post-13665651)
 * Clean install of WP5.5.3 and branch release from the link above resulted in a
   clean install and activation.
 * Issue fixed.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] Infinite Loop on Installation if $tmp_base is not writeable](https://wordpress.org/support/topic/infinite-loop-on-installation-if-tmp_base-is-not-writeable/)
 *  Thread Starter [Not Just Code](https://wordpress.org/support/users/notjustcode/)
 * (@notjustcode)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/infinite-loop-on-installation-if-tmp_base-is-not-writeable/#post-13660701)
 * No problem – I thought it would be a regression as previously the plugin has 
   notified us about directories it needed access to.
 * We run our WP installs on tightly locked down nginx setups, so appreciate it 
   when plugins a) acknowledge that nginx exists and b) lets us know what directories
   to make accessible.
 * In answer to your question: clean, new install of the plugin.

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