ruud4net
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can not edit list items in gutenburgHI George,
We found the problem of the list items in the gutenburg editor. It was and issue with our custom theme.
With this filter ?add_filter(‘allowed_block_types_all’, [static::class, ‘registerGutenbergBlocks’], 10); we customized the allowed block types.
Since WP 6.1 ‘core/list’ and ‘core/list-item’ have been split up and this caused our issue.
https://wordpress.stackexchange.com/questions/411684/problem-with-lists-and-allowed-block-types-in-functions-php-since-wp-6-1-1We added ‘core/list-item’ to the list of allowed block types and that fixed our issue.
Forum: Fixing WordPress
In reply to: Can not edit list items in gutenburgGeorge thanx for your reply.
We also upgrade wordpress to 6.5.4.. Unfortunally the problem exsists.
I am going to try to import a new theme. Maybe that gives a better light on this issue.Hi there,
We further looked into the issue of uploading the images. What we encountered is that an image of 300x250px and an add_image_size(‘thumbnail-featured-small’, 300, 250, array( ‘center’, ‘top’ )) gives a wp_error. That is correct because the image is the same as the specified imagesize.
But this error crashed the upload to the S3 bucket. If we deleted the format, it worked fine for the other formats we have.
I had already indicated that it only happened in the subsites. There is also the add_image_size 300 x 250.
I hope you can do something with this. If you would like more information. let us know.
Hi,
I am uploading from the media libary and yes I have tried several subsites with this same image.
The strange thing is that you can see the image when you are logged in wordpress. But is still not uploaded to CDN.This image is now on a acceptation site.
I hope you can do something with it.Kind regards Ruud
Hi,
Thanks for your reply
Unfortunately no error is created. In the debug.log I don’t see any errors related to the upload.
Below are the attachment details of the image where the error occurred.
Below are the attachment details of an image that does run properly to CDN.
If the image that goes wrong is uploaded to the main domain. Will the image be sent to CDN? But not from a subdomain.
I hope you can help us with this problem.
Regards Ruud
Hi There,
Thanks of your reply.
Below you can see my debug.log. I can also give you the two image that we use.
[30-Jan-2024 07:15:48 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:48 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:50 UTC] PHP Warning: foreach() argument must be of type array|object, string given in /shared/httpd/nieuws/www/wp-content/plugins/advanced-custom-fields-pro/includes/compatibility.php on line 418 [30-Jan-2024 07:15:50 UTC] PHP Warning: foreach() argument must be of type array|object, string given in /shared/httpd/nieuws/www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-group-functions.php on line 187 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18 [30-Jan-2024 07:15:50 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Return type of PMXI_Config::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /shared/httpd/nieuws/www/wp-content/plugins/wp-all-import/classes/config.php on line 85 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/lib/nav.php on line 54 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Function strftime() is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_franchise/templates/header.php on line 8 [30-Jan-2024 07:15:51 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /shared/httpd/nieuws/www/wp-content/themes/nieuws_hoofd/templates/searchform.php on line 18
Below you can see the images we use to test.
The first one give the problem. It is a animated gif. I could upload it. The second is a static gif.The problem occeurs only on subdomain sites. Not on the head domain sites.
https://leudal.nieuws.nl/media/sites/197/2024/01/Damesmode-Dekker-PB-2024-4.gif