stlpl
Forum Replies Created
-
Forum: Plugins
In reply to: [Splide Carousel Block] Slider width not adjusting inside the stack blockI found a simple solution to this problem:
.wp-block-splide-carousel__container {
width: 100%;
}Custom CSS for width issues on narrow screens:
@media screen and (max-width: 781px) {
.wp-block-splide-carousel__container {
max-width: calc(100vw - <global-left-and-right-padding>px);
}
}Forum: Plugins
In reply to: [Splide Carousel Block] Slider width not adjusting inside the stack blockAfter additional testing, the problem also appears on the front-end in loop mode without the stack block. It simply stops adapting to the container at some point when the viewport width changes.
Increasing my PHP memory does not help.
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656The error occurs only when I create a template (even an empty one) for a specific page or post. I don’t need to block access to that particular page or post – blocking the archive or the homepage also causes the error. The issue disappears once the custom template is removed.
I ran the tests using Twenty Twenty-Five theme.
Thank you for your reply, all the necessary information can be found here.
In the “Log Viewer” section there are no errors at all.
I reproduced the error on a clean installation of WordPress in English with only the “Content Control” plugin.
After additional testing, when the user tries to open the panel, the following errors also appear alternately:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in <path>\wp-includes\functions.php on line 656Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\block-template-utils.php on line 218Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in <path>\wp-includes\class-wp-block-parser.php on line 330It also seems that adding other restrictions (e.g., to the homepage) also causes an error. The template prepared from within the editor (FSE) for specific page/post are crucial here, not the page/post itself.
To clarify, I’m blocking access for logged out users to the selected page.
I’m blocking access for logged out users (Who can see this content? Logged in Users).
Forum: Plugins
In reply to: [Light Modal Block] Plugin loads unnecessary JavaScript files on frontendThank you for fixing the issue so fast. Much appreciated!
Forum: Plugins
In reply to: [Splide Carousel Block] Problem with the “speed” optionThat is true, thank you.