• Resolved thelittleveggiekorean

    (@thelittleveggiekorean)


    We’re using WP-Stateless for backup mode. And recently discovered that an audio file (136M) not uploaded in gcs as intended. But it wasn’t our first time uploading file around the same size. It was working fine last month, but this time it’s not working.

    We also found that in sync page in the setting for this plugin shows this error: “Errors encountered. Try reloading the page. Algorithm not allowed”.

    I reloaded the page but nothing happens. Also downgraded the plugin to 3.30 but it won’t help.

    Here some details for our wordpress site:

    Only file with the size but smaller ones work fine.

    Currently we’re using WP-Stateless version 3.41

    WordPress version: 6.4.3

    PHP version8.0.28 (Supports 64bit values)

    PHP max input variables10000

    PHP time limit 300

    PHP memory limit 512M

    Max input time 300

    Upload max file size 256M

    PHP post max size256M

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

    (@ideric)

    Thank you for sharing this situation. I’ll have the team take a look.

    Plugin Author Oleksii Bolhunovskyi

    (@obolgun)

    Hello @thelittleveggiekorean,

    “Algorithm not allowed” seems to be related to the PHP itself, not WP or WP-Stateless directly. And if I understand you correctly, there are no issues with smaller files.

    I would suggest you the following:
    * If this is possible on your hosting platform, try to increase “Upload max file size” and “PHP post max size” to 512M and try again.

    * Try to set WP_STATELESS_MEDIA_UPLOAD_CHUNK_SIZE constant (https://stateless.udx.io/docs/constants/#wpstatelessmediauploadchunksize) to 10485760, for example.

    Please let us know if any of this helped.
    Thanks!

    Plugin Author Eric Sopp

    (@ideric)

    @thelittleveggiekorean, checking back here. Your feedback is important to the improvement of WP-Stateless. Please share your thoughts. Thank you! ??

    Thread Starter thelittleveggiekorean

    (@thelittleveggiekorean)

    Hi! @obolgun and @ideric, thank you so much for your help!

    In our case, our website was already reaching to 512M?for both “Upload max file size” and “PHP post max size”.

    But I was able to solve this issue by following your suggestion 2. I have added this line in config file:

    define(‘WP_STATELESS_MEDIA_UPLOAD_CHUNK_SIZE’, 5242880); // 5 MB

    Thank you again for your support ?? It massively helped our website running smoothly again ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sync error “Algorithm not allowed”’ is closed to new replies.