Giter VIP home page Giter VIP logo

Comments (17)

YauheniKapliarchuk avatar YauheniKapliarchuk commented on May 26, 2024

Hi @ccharacter,
sorry for delay...

Could you please describe this issue with more details?

I would take it for investigation.

Thanks,
Best Regards!

from alps-gutenberg-blocks.

hans-olson avatar hans-olson commented on May 26, 2024

Are there more details?

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

Hi folks--I'll update my dev site and reinstall it so that I can hopefully provide more information. I do recall that there was surprisingly little in the logs. (May be a couple of hours until I can do that, but I'll try to do it today.)

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

So far I am unable to duplicate the behavior I complained about in August. Will try it on the live site shortly.

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

Yeah, so apparently I forgot that I had installed the Carbon Fields plugin to cut down on some other errors in ALPS. Without the Carbon Fields plugin installed and activated, the block editor crashes completely: white screen of death and this in the error log:

[26-Sep-2023 15:18:55 UTC] PHP Notice: Function register_rest_route was called <strong>incorrectly</strong>. 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. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /var/www/vhosts/communityservices.org/plum/pr0g/wp-includes/functions.php on line 5905 [26-Sep-2023 15:18:55 UTC] PHP Warning: Trying to access array offset on value of type bool in /var/www/vhosts/communityservices.org/plum/pr0g/wp-includes/block-editor.php on line 553

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

This is still the case if I deactivate ALL PLUGINS except ALPS Gutenberg Blocks: exact same errors.

If I activate a default theme like TwentyTwenty, the block editor works fine. (That's the only way I can actually deactivate ALPS Gutenberg Blocks, it turns out--won't let me while ALPS is active theme.)

It seems that the only way to have the block editor work (sans Carbon Fields) is to completely remove the ALPS Gutenberg Blocks plugin--by deleting the files from the system.

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

image

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

I'm using a child theme of ALPS 3 on the site. So I tried activating ALPS for Wordpress itself instead (still zero plugins active, other than ALPS Gutenberg Blocks). Same result: white screen of death for block editor, same error as above in log.

When I remove ALPS Gutenberg Blocks by deleting it from the file system, I still get the same result.

When I reactivate Carbon Fields, the block editor works in ALPS for WordPress--and in my child theme.

When I reinstall ALPS Gutenberg Blocks WITH CARBON FIELDS ACTIVE the block editor works.

I think that my conclusion at this point is that the problem is not in the ALPS Gutenberg Blocks plugin, but in the theme itself. And that Carbon Fields seems to provide a workable crutch.

from alps-gutenberg-blocks.

hans-olson avatar hans-olson commented on May 26, 2024

You need to use ALPS CDN version 3.13.1. If you upgrade to ALPS 3.15.1.4 the new CSS is included and you should not have issues.

That theme is attached to this post.

alps-wordpress-v3.15.1.4.zip

from alps-gutenberg-blocks.

YauheniKapliarchuk avatar YauheniKapliarchuk commented on May 26, 2024

Please use latest version of our theme.

@hans-olson will handle it.

Thanks,
Best Regards!

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

So when did the theme fork? Or is there a reason why it wouldn't be auto-updating?

from alps-gutenberg-blocks.

hans-olson avatar hans-olson commented on May 26, 2024

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

It looks like 3.15 requires PHP 8.1, which I am not presently running on the site in question. I'll be interested to see whether, when I update PHP, there is any indication that a new version of ALPS is available. You really should have some sort of notification--especially when the new version fixes this many problems! Also, you'll be hearing from me again if there are a significant number of PHP errors. I live in the error logs. . . LOL!

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

Huh. PHP 8.1 isn't even available on the NAD Cloud yet. So this doesn't do me a bit of good.

from alps-gutenberg-blocks.

hans-olson avatar hans-olson commented on May 26, 2024

from alps-gutenberg-blocks.

ccharacter avatar ccharacter commented on May 26, 2024

If you talk to anybody in NAD, please nudge them in the right direction. I don't always get a reply from them!

from alps-gutenberg-blocks.

hans-olson avatar hans-olson commented on May 26, 2024

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.