• Hello!

    I got error: [Media Sync] [AJAX error] error

    Turn on debugging √

    Imported 5 out of 133 selected items

    Debugging before uploads directory scan:
    Peak memory usage: 54.5 MB / 55808 KB
    Memory usage: 53 MB / 54150 KB (10% of the available memory: 512 MB / 524288 KB)
    Time since start: 0.17400908470154 seconds

    Debugging after uploads directory scan:
    Peak memory usage: 54.5 MB / 55808 KB
    Memory usage: 53 MB / 54153 KB (10% of the available memory: 512 MB / 524288 KB)
    Time since start: 0.17401814460754 seconds

    Debugging after table render:
    Peak memory usage: 58.5 MB / 59904 KB
    Memory usage: 56 MB / 57290 KB (11% of the available memory: 512 MB / 524288 KB)
    Time since start: 0.29467916488647 seconds

    Please help.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author erolsk8

    (@erolsk8)

    Hi @wufuquan, unfortunately, I don’t see any error here, just those stats.

    Do you see any error somewhere else on the page or in console or network tab (in Dev Tools)?

    Thread Starter Wufuquan

    (@wufuquan)

    Hi @erolsk8 , I got it on Media -> Media Sync

    After I click “Import Selected”

    The URL location: /wp-admin/upload.php?page=media-sync-page&scan_files=1

    Plugin Author erolsk8

    (@erolsk8)

    Yes, that’s where this plugin is. But I’m not sure what is the error.

    Plugin Contributor Simon Kane

    (@simonkane)

    If I may jump in.

    This may be the typical PhP execution time limit timeout.
    WordPress does a LOT of processing for each import- generating all the different image sizes, which takes time, and the initial task is waiting.

    A typical PhP max_execution_time default value is 30 seconds. On many servers, this is only enough time to process 2-5 imports, On some economy plans, even 60 only allows 2-5.

    I can get more than that on my “top tier shared” server, but no way could I run 133 in one “go”.

    Could you reply with your PhP max_execution_time and similar values?
    If this is outside of your expertise level, a simple phpinfo.php file will show everything needed:

    <?php
    // Show all information, defaults to INFO_ALL
    phpinfo();
    ?>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AJAX error error’ is closed to new replies.