Support » Plugin: Caldera Forms - More Than Contact Forms » Notice: register_rest_route

  • erudervalleniol


    When I activated Caldera form plugin, I get the following error :

    Notice: register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>cf-api/v2/entries</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in wp-includes\functions.php on line

    I see in wp-content\plugins\caldera-forms\classes\api\crud.php, in line 59, that register_rest_route missing permission_callback if I add permission_callback => '__return_true, the notice disapear.

    However, I don’t know if this is a good solution.I don’t know if this REST API route is intended public.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.