donbowman
Forum Replies Created
-
i use the gutenberg plugin. the plus blocks is not compatible w/ gutenberg 16.3, so i am pinned to 16.2.1. I believe this will be released w/ wp 6.3 shortly.
the caching algorithm is not compatile w/ wp-stateless, it makes assumptions about the filesystem.
Forum: Plugins
In reply to: [The Events Calendar] _EventStartDate gets set to null, and event breaksits not a conflict. something about UTC time and editing events causes it to corrupt itself. when it does, the event vanishes (either from the backend, or the front end).
the fix is to either delete the date, save, recreate the date, or, to update the database so those fields are all 4 present, not empty.
these are the wp-super-cache rules (https://wordpress.org/documentation/article/nginx/#wp-super-cache-rules)
what i’ve done to make it work w/ your plugin:
- use $uri instead of $request_uri for cache key
- if ($arg_nab != “”) { set $cache_uri ‘–null–‘; }
#2 forces the cache to not hit if this parameter is present, it then falls back to serving via PHP.
(this is in conjunction with
try_files "/wp-content/cache/supercache/$http_host/$cache_uri/index-https.html" "/wp-content/cache/supercache/$http_host/$cache_uri/index.html" $uri $uri/ /index.php$is_args$args;- This reply was modified 2 years, 12 months ago by donbowman.
Forum: Plugins
In reply to: [WP Super Cache] Site health issue (persistent object cache)its suggesting you *also* deploy e.g. https://en-ca.wordpress.org/plugins/redis-cache/
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Not Compatible with PHP 8can you be more specific? it seems to work for me on my setup.
i do not see errors in the php logs.
php -v
PHP 8.2.7 (cli) (built: Jun 8 2023 15:27:40) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologiesi do this.
to achieve, i use nginx (which runs my wordpress) also hav an assets endpoint, this does a caching reverse proxy to the gcs assets.
In this way only my nginx accesses the gcs for read (and the wordpress backend does read/write as needed via this plugin).
location @www { proxy_cache_valid 200 96h; expires 1y; include /rules/server.d/assets.inc; }and then in assets.inc
limit_except GET HEAD OPTIONS { deny all; } proxy_set_header Host storage.googleapis.com; proxy_pass https://assets/mybucket$uri; proxy_intercept_errors on; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_hide_header x-goog-meta-size; proxy_hide_header x-goog-meta-width; proxy_hide_header x-goog-meta-height; proxy_hide_header x-goog-meta-object-id; proxy_hide_header x-goog-meta-source-id; proxy_hide_header x-goog-meta-file-hash; proxy_hide_header x-goog-meta-child-of;this is just a snippet, you get the idea.
Forum: Plugins
In reply to: [WP Super Cache] Enable brotli static via a hook?since the brotli static plugin looks for .br files, it would be sufficient if something could be notified “this file was updated in cache”, and it could then async create a compressed copy beside it.
e.g. a notification hook would be sufficient for me to write a function in functions.php.
This might be inter-related or a way to fix:
https://core.trac.wordpress.org/ticket/45275 “Add a “use_block_editor_for_{post_type}” filter“
In the-events-calendar, it does:
/** * @todo Move away from the generic to the new filter once it's introduced * See: https://core.trac.wordpress.org/ticket/45275 * * E.g.:use_block_editor_for_{post_type}*/ add_filter( 'use_block_editor_for_post_type', [ $this, 'deactivate_blocks_editor_venue' ], 10, 2 ); add_filter( 'use_block_editor_for_post_type', [ $this, 'deactivate_blocks_editor_organizer' ], 10, 2 ); add_filter( 'use_block_editor_for_post_type', [ $this, 'deactivate_blocks_editor_event' ], 10, 2 );where
public function deactivate_blocks_editor_organizer( $is_enabled, $post_type ) { if ( Tribe__Events__Organizer::POSTTYPE === $post_type ) { return false; } return $is_enabled; }maybe we need a higher priority use_block_editor_for_post_type() hook?
The below does *NOT* solve:
function enable_blockmeister_event($current_status, $post_type) { if ($post_type == "blockmeister_pattern") { return true; } return $current_status; } add_filter( 'use_block_editor_for_post_type', 'enable_blockmeister_event', 99, 2 );- This reply was modified 3 years, 1 month ago by donbowman.
Forum: Themes and Templates
In reply to: [Neve] Neve Icon Page Layout disappearedI have the same issue, but that does not resolve.
i believe it interrelates to this https://github.com/WordPress/gutenberg/issues/48749
and https://wordpress.org/support/topic/error-the-meta-sidebar-plugin-cannot-be-rendered/
Forum: Themes and Templates
In reply to: [Neve] Error: The “meta-sidebar” plugin cannot be renderedi updated https://github.com/WordPress/gutenberg/issues/48749 w/ the instructions on how to replicate minimally.
Forum: Themes and Templates
In reply to: [Neve] Error: The “meta-sidebar” plugin cannot be renderedhttps://github.com/WordPress/gutenberg/issues/48749 is a link to the issue open w/ gutenberg plugin.
I am not clear on which needs to change to resolve. Neve + gutenberg were working together previous to gutenberg 15.3.0.
Forum: Themes and Templates
In reply to: [Neve] Error: The “meta-sidebar” plugin cannot be renderedi too face this issue w/ neve + gutenberg.
did you create and issue https://github.com/WordPress/gutenberg here so I may follow i?
are you also seeing ‘Block “core/legacy-widget” is already registered.’ ?
- This reply was modified 3 years, 4 months ago by donbowman.
i find the Spectra image block also has this issue.
I find the issue is, i edit the page, all is good. I come back to the page sometime later, and the blocks show as corrupt.
For the image block, i switch it to the standard gutenberg one to fix.
For the advanced row, i end up having to either recreate, or, more commonly, to try and design it out.
I’m not sure this is caching, my caching plugins (fvm, wp-super-cache) don’t enable in the backend or for logged in users.
I am also seeing this. Accompanied is in the web console a note that the block is corrupt.
So thank you for that.
It changes the behaviour, but does not resolve.
/app/wp-content/plugins/the-plus-addons-for-block-editor/classes/tp-core-init-blocks.php:739 is looking for gs://path (which is the underlying Google Cloud Storage path of the wp-stateless), so it seems its not using the wordpress filesystem redirection, but instead going straight to the uplaods dir.
/app/wp-content/plugins/the-plus-addons-for-block-editor/classes/tp-core-init-blocks.php:752 also looks for a different thing. It has removed the gs://, but still has a URL in it that is not correct
below is a sample error message. The /agilicus/www, this would be gs://agilicus/www (which is the underpinning storage). it did not ‘upload’ the file (plus-css-1067.css) so its not there either, even if the path was correct.
Both these errors are with the “On Demand”. Interesting, yours shows a “in header” optimisation option that i don’t have available in config.
[agilicus-swww-stagingsr4k-ssnpzsgsn-846595c8ff-5z4dj www-staging] 2023/02/17 22:16:06 [error] 102#102: *519 FastCGI sent in stderr: "/agilicus/www/theplus_gutenberg/plus-css-1067.css') /app/wp-content/plugins/the-plus-addons-for-block-editor/classes/tp-core-init-blocks.php:752" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /two-factor-herd-immunity/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.agilicus.com", referrer: "local-cache-build"