• Resolved umairjadoon

    (@umairjadoon)


    When we save the bulk edit changes, only 25 items are updated and rest are ignored. We have tried clicking multiple times but the plugin only processes 25 changes and ignore the rest. Can you please tell us what might be wrong? We will be thankful.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author pimwick

    (@pimwick)

    By default we save 25 fields at a time to prevent server timeouts. However, we have seen some hosts that still timeout when trying to save the batch. You can adjust the batch size by following these steps:

    1. Log into your FTP site and edit wp-config.php
    2. Edit wp-config.php and scroll to the end and add the following bit of code:

    Scroll towards the bottom, and before the line that says “Happy blogging.” add this code ABOVE that line (translate as needed):

    define( ‘PWBE_SAVE_BATCH_SIZE’, 1 );

    /* That’s all, stop editing! Happy blogging. */

    3. Save the wp-config.php file and re-upload it to your server.

    Adjust the value until you find the sweet spot where it doesn’t timeout. A batch size of 1 will save each field one after the other.

    After changing it to 1 if there are no more errors you can try a higher number since it will usually be faster.

    If you have any questions just let me know!

    Thread Starter umairjadoon

    (@umairjadoon)

    Hello, thank you for your prompt reply. I added this like in my wp-config.php file and increased the number up to 10. Didn’t see any errors but still only 25 records are being updated. Rest changes are ignored.

    Maybe I was not clear before, I don’t see any time out error but for example I do 50 changes and hit save, It says ‘saving 25 out of 50’ and then shows ‘success’. When checking, only 25 changes get to be save and other changes are lost.

    Plugin Author pimwick

    (@pimwick)

    After adding PWBE_SAVE_BATCH_SIZE to your wp-config.php it is necessary to clear the browser cache before reloading the plugin. The batch size is stored in JavaScript which is going to be cached.

    Most browsers will allow you to simply hold down the Shift key while clicking on Refresh in order to ignore the cache and download the javascript from the server.

    Thread Starter umairjadoon

    (@umairjadoon)

    Thanks for your reply again. I have added define( ‘PWBE_SAVE_BATCH_SIZE’, 500 ); in my wp_config file, cleared the cache and even reopened the dashboard in incognito window. Still, only 25 items are being saved. Please help.

    Thread Starter umairjadoon

    (@umairjadoon)

    I am sorry I just updated the plugin and it works fine now. Thank you for your support.

    Plugin Author pimwick

    (@pimwick)

    Great, glad to hear it! If there is anything else we can help with just let us know.

    I was evaluating the functionality of the product before buying. Also to me it records only 25 lines. I inserted your suggestions into wp-config and deleted the cache directly on the server. Nothing, it does not work!

    Plugin Author pimwick

    (@pimwick)

    Hello, when you add the value into wp-config.php, reload the Bulk Editor and then right click on the page and choose “View Page Source”.

    Look for the field “saveBatchSize”, it should look like this:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var pwbe = {"saveBatchSize":"25"};
    /* ]]> */
    </script>

    The batch size should match the number in your wp-config.php file. If it doesn’t, let me know!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Bulk changes are only saved for 25 items’ is closed to new replies.