• Resolved ezekielion

    (@ezekielion)


    When I tried to create a stage site with original site having 128MB memory limit and REST API enabled. The stage site shows 40MB and REST API disabled.

    I see this info from the WPML support menu. It shows that the staging site does not meet the WPML requirements. But the original site does.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ezekielion

    (@ezekielion)

    When I check the Tools -> Site Health I see two issues from the staging site that are not in the original site:

    #1 A scheduled event has failed Performance

    The scheduled event, action_scheduler_run_queue, failed to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

    #2 The REST API encountered an unexpected result Performance

    The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.

    When testing the REST API, an unexpected result was returned:

    REST API Endpoint: https://mydomain.com/stage/wp-json/wp/v2/types/post?context=edit
    REST API Response: (500) Internal Server Error

    Plugin Author Rene Hermenau

    (@renehermi)

    @ezekielion The cron jobs only work if there is a visitor at within a time window of a few minutes around a scheduled cron job.

    Staging sites usually don’t have those regular visitors. Please read this article about cron jobs and how they work: https://wp-staging.com/docs/wp-cron-is-not-working-correctly/

    Also try:

    About the not working REST Api, try to

    • Activate post name permalinks
    • Disable the WP Staging authentication form. (Usually this should not be required)

      If REST request still fail please open a support ticket here.

    All the best

    René



Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Memory limit and Rest API not copied’ is closed to new replies.