Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home_pr7/b/l/xxxxxx.ch/htdocs/xyz/web/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php:707 Stack trace: #0 /home_pr7/b/l/xxxxxx.ch/htdocs/xyz/web/wp-admin/includes/template.php(1836): acf_field_image_crop->displayHideFromMediaInput(Array) #1 /home_pr7/b/l/xxxxxx.ch/htdocs/xyz/web/wp-admin/includes/template.php(1790): do_settings_fields(‘media’, ‘acf_image_crop_…’) #2 /home_pr7/b/l/xxxxxx.ch/htdocs/massimos-palace/web/wp-admin/options-media.php(172): do_settings_sections(‘media’) #3 {main} thrown in?/home_pr7/b/l/xxxxxx.ch/htdocs/xyz/web/wp-content/plugins/acf-image-crop-add-on/acf-image-crop-v5.php?on line?707
]]>This is causing the featured images with post pages to pixelate, which is not the look I am going for.
I have tried adding code to various php scripts, reset cache but nothing changes. I’ve installed plugins such as AJAX Thumbnail Rebuild and Regenerate Thumbnails, but again no luck. They are simply regenerating the inferior pixelated images imported by WordPress. It’s driving me mad!
Has anyone else experienced not being able to change the media settings? I would be really grateful if anyone has any ideas.
]]>which one is the ‘boss’?
]]>My media settings are set to use year/month folders. Today, uploads should be in the uploads/2021/01 folder. Add this is creating odd folders, eg: “uploads/1610/58/files”, “uploads/1610/59/files”, “uploads/1610/60/files” etc.
Using Add-this v3.4.5 with WP5.6 and php7.2
]]>Issue 1 (solved): keep sidebar displayed on the right of post content on tablet view, but keep mobile view to default (css code below)
Issue 2 (created by the solution to Issue 1): even on pages that have the sidebar disabled, the page content is now contained in the area specified by CSS written for Issue 1.
CSS code:
@media only screen and (max-width: 60em) and (min-width: 40em) {
.ast-right-sidebar #secondary {
clear: none;
float: right;
width: 35%;
margin: 1em 0px 0px;
}
#primary {
float: left;
padding-right: 0px;
width: 60%;
}
}
_________
Thank you to anyone even reading/considering an assist
1. Where is the setting that controls the size of the featured image?
Also, in Settings > Media > Image Sizes, I have the following settings:
Thumbnail size: 150 x 150 (that’s fine)
Medium size: 300 x 300
Large size: 1040 x 1040 for the site with smaller featured images (1024 x 1024 on the site with the larger featured images)
Is there logic behind the Medium and Lage image sizes? My usual max-width for images in the blog posts is 450 px. I create featured images with the max-width of 600 px which normally has a height of 400 px.
2. Should I change the Medium medium setting to 450 x 450?
3. Should I change my Large size to 600 x 600 since I create max-width featured images of 600 px? Why 1040 or 1024?
3. What is the Large size setting for? I do not upload anything that large.
I’ve run a speed test on my site and it dings a few images that apparently aren’t optimized.
1. What should the size of images optimally be when uploading to my media library?
2. What should the image sizes be (thumbnail, medium, and large) in media settings?
3. Is there any other best practices for images I can apply?
]]>However, the problem occurs in the individual site. When a file is uploaded through Add Media, it goes to a complete different URL.
For example, if the site is called “H1” and the site ID is 9, when a file is uploaded through Add Media in the individual site, it get uploaded to wp-content/blogs.dir/9/files, but the Media page is looking in a URL called h1/files/. How to I change the “h1/files/” to “wp-content/blogs.dir/9/files”?
Which MS files can I change or what hook can I write in a plugin to fix this?
]]>I m first time using wordpress system, now facing issue is how to reset the images size.
I use single images element and set on lick action to open pretty photo. But all the popup open pretty photo cannot fully show and the size be cut. Please advice.
Thanks.
]]>