Giter VIP home page Giter VIP logo

Comments (9)

designerbrent avatar designerbrent commented on May 26, 2024

Here is the error that Wordpress returns:

`x-wp-doingitwrong register_rest_route (since 5.5.0; The REST API route definition for <code>alps-gutenberg-blocks/latest-posts/tags</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.)
`

from alps-gutenberg-blocks.

YauheniKapliarchuk avatar YauheniKapliarchuk commented on May 26, 2024

https://www.adventist.org/wp-json/wp/v2/pages?per_page=100&exclude=32029&parent_exclude=32029&orderby=menu_order&order=asc&co
ntext=edit&_locale=user

from alps-gutenberg-blocks.

dburry avatar dburry commented on May 26, 2024

the full url on adventist.org for this specific error is:

https://www.adventist.org/wp-json/wp/v2/pages?per_page=100&exclude=32029&parent_exclude=32029&orderby=menu_order&order=asc&context=edit&_locale=user

from alps-gutenberg-blocks.

dburry avatar dburry commented on May 26, 2024

here is where I found the call to register_rest_route within the alps-gutenberg-blocks code:

adventist@web05:/www/www.adventist.org/public_html/wp-content/plugins/alps-gutenberg-blocks$ grep -rn register_rest_route .
./src/blocks/latest-posts/block.php:90:        register_rest_route( 'alps-gutenberg-blocks', '/latest-posts/tags', [

from alps-gutenberg-blocks.

dburry avatar dburry commented on May 26, 2024

here I found an explanation for this error:

https://make.wordpress.org/core/2020/07/22/rest-api-changes-in-wordpress-5-5/ search for the word "doing" and you will see the explanation.

from alps-gutenberg-blocks.

designerbrent avatar designerbrent commented on May 26, 2024

A quick update: Late last week we found the blame for the error preventing the changing of the page was a different plugin. That said, I would still like to make sure that this warning gets resolved so we are more prepared moving forward.

from alps-gutenberg-blocks.

YauheniKapliarchuk avatar YauheniKapliarchuk commented on May 26, 2024

After some investigation we decided:

  • Run this version of the ALPS and guthenberg blocks;
  • Test it on the QA env;

After that test to continue or finish.

Thanks,
Best Regards!

CC: @hans-olson @daniel-eesti @johnrbeckett @designerbrent

from alps-gutenberg-blocks.

YauheniKapliarchuk avatar YauheniKapliarchuk commented on May 26, 2024

Hello everyone.

At the moment, I have checked this case on my local investment. I also checked the production staging. The main reason was not updated plugins, I made the necessary updates and this problem was fixed. Please let us know if it appears again and how to reproduce it.

Screenshot 2022-10-10 at 19.39.16.png

@designerbrent also I checked the request from ALPS Guthenberg Blocks and now it works correct on my local env and prod staging.

@daniel-eesti @hans-olson Could you please check it on your side?

Thanks,
Best Regards!

CC: @designerbrent @dburry @johnrbeckett

from alps-gutenberg-blocks.

daniel-eesti avatar daniel-eesti commented on May 26, 2024

@YauheniKapliarchuk I've tested it and I have no error

telegram-cloud-photo-size-2-5348301304176427060-y

from alps-gutenberg-blocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.