Comments (17)
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.
Are there more details?
from alps-gutenberg-blocks.
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.
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.
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.
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.
from alps-gutenberg-blocks.
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.
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.
from alps-gutenberg-blocks.
Please use latest version of our theme.
@hans-olson will handle it.
Thanks,
Best Regards!
from alps-gutenberg-blocks.
So when did the theme fork? Or is there a reason why it wouldn't be auto-updating?
from alps-gutenberg-blocks.
from alps-gutenberg-blocks.
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.
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.
from alps-gutenberg-blocks.
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.
from alps-gutenberg-blocks.
Related Issues (20)
- Bugs with Pasting in ALPS Gutenberg Blocks HOT 1
- Add limited text styling on selected blocks HOT 1
- Interface Issue with ALPS Content Expand HOT 1
- image-2up has incorrect margins HOT 1
- Refactor blocks HOT 3
- Error on `i18n:create-json` command HOT 1
- ALPS Gutenberg Block with 5-grid-layout HOT 3
- Issue with Translation po files HOT 1
- Missing front.js file HOT 5
- Design Consistency on Gutenberg Blocks HOT 1
- Duplicated Styles in Compiled CSS HOT 1
- Enable html in ALPS Media Block HOT 3
- "register_rest_route" error HOT 9
- Missing i18n Phrases HOT 1
- ALPS CTA block Upload Issue HOT 19
- New design of ALPS Quote block HOT 12
- CLS issues | Research
- ALPS widgets could not be added to more than one area of the page
- Google Map API for ALPS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alps-gutenberg-blocks.