• jahrat

    (@jahrat)


    Hello Support,

    I note this topic has been raised before but reviewing them the responses did not help. I am using MailPoel version 4.37.0 for both the free and premium versions. Also, WordPress 6.4.1 and PHP 8.2.12. There are no messages in the plugin for outdated versions as suggested. Also, the message has been present through a few updates. The stack trace is below.

    Exception: Invalid API endpoint. in /…/wp-content/plugins/mailpoet/lib/API/JSON/API.php:190
    Stack trace:

    0 /…/wp-content/plugins/mailpoet/lib/Subscription/Form.php(33): MailPoet\API\JSON\API->processRoute()
    1 /…/wp-includes/class-wp-hook.php(324): MailPoet\Subscription\Form->onSubmit(Array)
    2 /…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    3 /…/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    4 /…/wp-admin/admin-post.php(61): do_action(‘admin_post_nopr…’)
    5 {main}

    How do I fix this?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Elvira K.

    (@treibalen)

    Hi there @jahrat,

    Thanks for reaching out!

    I’m wondering if you use any forms on your site that are integrated with MailPoet but not built with our plugin?

    Looking forward to hearing back from you!

    Thread Starter jahrat

    (@jahrat)

    Hi Elvira,

    I use three forms built directly in MailPoet. I discontinued use of one form as the source data was no longer available. That form was converted to a draft as I may need to reactivate in the future. Would this cause the error as the form is no longer available? to the schedule?

    Thread Starter jahrat

    (@jahrat)

    Hello @treibalen,

    • This reply was modified 12 months ago by jahrat.
    Plugin Support Ojoma a11n

    (@geraltrivia)

    Hello again @jahrat,

    “Invalid API endpoint” typically means that the API endpoint URL that was provided to access a service or resource is incorrect, does not exist, or is unavailable. An API endpoint is a URL that enables the communication between a client and a server that hosts the service or resource. Therefore, if the API endpoint is invalid, it would not be possible to access the intended service or resource.

    In this case, I recommend that you re-install the MailPoet Plugin to see if this fixes the error. You can learn how to do this by going here: Re-installing / Updating the Plugin via FTP

    It is unlikely that any data will be lost from the MailPoet plugin, so it should be safe to proceed. However, as a precautionary measure, it’s recommended that you backup your database before proceeding.

    If the issue persists after taking these steps, we suggest conducting a full conflict test. You can learn how to do this by visiting the following link: “How to Test for Theme and Plugin Conflicts“. Once you have completed the test, please let us know your findings and if the issue persists kindly let us know.

    Looking forward to hearing back from you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid Endpoint’ is closed to new replies.