• I got an error message:

    register_rest_route was called incorrectly. The REST API route definition for alo-easymail/v1/trkpxl is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback. Please see Debugging in WordPress for more information. (This message was added in version 5.5.0.)

    And also I can send system mail but not newsletter by Alo easymail. Do you have any idea which may cause this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author eventualo

    (@eventualo)

    Hi debra15, thanks for you report. I’ll fix it in next release.
    About your question, if I understand well, you can send only newsletters manually, the plugin cannot send automatically system messages.

    Thread Starter debra15

    (@debra15)

    Thank you for your reply.

    The site can send emails like new user、forget password. But I was stuck even when I was trying to send the test newsletter.

    I also got two error messages from health check:

    The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
    The REST API request failed due to an error.
    Error: [] cURL error 28: Connection timed out after 10015 milliseconds

    Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
    The loopback request to your site failed, this means features relying on them are not currently working as expected.
    Error encountered: (0) cURL error 28: Connection timed out after 10013 milliseconds

    Thread Starter debra15

    (@debra15)

    After we solved the cURL error of REST API and Loopback, we can send the newsletter now. (register_rest_route was called incorrectly. still there though) But now when we sent the newsletter, the CPU ran too high then the website was down for half hours after we restart the server twice. (In the report the Sendings successful rate is 100%.)

    We set 5 emails are sent for every 5 minutes, and only sent 8 emails. But every email address is a group email, like a teacher group email address is sent to 300 teachers, and a student group email is sent to 2000 students. (Because we don’t have the mail list for all the teachers and students so we can only send to the group email address. And the mail server is not on our server, there is a center in school charge those things. )

    Then we tried to send the group email separately which means we sent one group email per newsletter. Then it worked! The site was not down or slow and seems everyone got the newsletter.

    But because sending the same newsletter separately for eight-time is too annoyed. I hope you can help us with this situation. Thank you.

    • This reply was modified 4 years, 2 months ago by debra15.
    • This reply was modified 4 years, 2 months ago by debra15.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error message about REST API’ is closed to new replies.