adipl
Forum Replies Created
-
Updated to 3.2.3. The missing-file warnings and the debug log lines are gone. Thanks for the quick fix!
Thanks for the reply. I followed your suggestion and reinstalled 3.2.2 from the dashboard by uploading the official zip and replacing the current version. The errors are still there:
PHP message: ssssss; PHP message: ssssss; PHP message: ssss;
PHP Warning: include_once(…/wp-content/plugins/folders/templates/folders/modals/duplicate-folder.php): Failed to open stream: No such file or directory in …/wp-content/plugins/folders/includes/Folders/FoldersMedia.php on line 301
PHP Warning: include_once(…/wp-content/plugins/folders/templates/folders/modals/lock-folders-modal.php): Failed to open stream: No such file or directory in …/wp-content/plugins/folders/includes/Folders/FoldersMedia.php on line 307The problem is in the release package itself, not in our installation. I downloaded https://downloads.wordpress.org/plugin/folders.3.2.2.zip directly and checked it:
- These files are missing from the zip, but includes/Folders/FoldersMedia.php still references them:
- templates/folders/modals/duplicate-folder.php (line 301)
- templates/folders/modals/lock-folders-modal.php (line 307)
- dist/css/progress.css (line 286, which gives a 404 in wp-admin)
- Leftover debug calls in the same file: error_log(‘ssssss’) at lines 40 and 44, and error_log(‘ssss’) at line 117.
Version 3.2.1 has the same problems. Version 3.2.0 is clean. After downgrading to 3.2.0, our error log stays clean.
To reproduce: enable Folders for Media and turn on PHP error logging (e.g. WP_DEBUG_LOG). Then edit any post and click the featured image (or Set featured image if there is none yet). The warnings appear in the log as soon as the media modal opens. They are only warnings, so the plugin seems to work and it is easy to miss without logging. The error_log(‘ssssss’) lines run on every wp_enqueue_media call.
Could you please add the missing files to the release, remove the debug lines and publish a fixed version? We will stay on 3.2.0 until then.
Thanks!
Additionally, 3.2.2 enqueues dist/css/progress.css?ver=3.2.2, which is also missing from the package — it returns 404 on every admin page load.
Forum: Plugins
In reply to: [Meow Lightbox] The plugin stopped working as of version 5.3.5Thank you very much for your reply.
As you’ve noticed, the problem has been ongoing (although it previously manifested as JavaScript errors in the console) since the version following 5.3.5. Newer versions didn’t work, so I downgraded. And I checked the newer versions a few times.
The suggested solution didn’t work (but that’s my fault—I didn’t check the problem thoroughly).
The original (biggest) problem was that the left-right navigation was missing. The enlarged image is displayed. No JS errors in the console.
The secondary issue (which led me to believe that the lightbox had stopped working entirely and wasn’t displaying the image) was caused by our mistake. Our site integrates content from many other sites (with the authors’ permission). And someone posted a gallery with links (full gallery HTML code) to an external site. And it works on version 5.3.5. But in the newer version, only 2 out of several photos were clickable. It was as if the plugin was checking for
data-mwl-img-id=“XXX”(was it checking local files??).Set “Include Orphans Enabled” not help. Only 2 of the several images are clickable (the cursor changes when you hover over them).
<div id="gallery-1" class="gallery galleryid-151330 gallery-columns-3 gallery-size-thumbnail">
<dl class="gallery-item">
<dt class="gallery-icon landscape"> <a
href="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021.jpg"><img
fetchpriority="high" decoding="async" width="310" height="205"
src="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-310x205.jpg"
class="attachment-thumbnail size-thumbnail" alt=""
srcset="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-310x205.jpg 310w, https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0021-1024x682.jpg 1024w"
sizes="(max-width: 310px) 100vw, 310px"></a></dt>
</dl>
<dl class="gallery-item">
<dt class="gallery-icon landscape"> <a
href="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020.jpg"><img
decoding="async" width="310" height="205"
src="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-310x205.jpg"
class="attachment-thumbnail size-thumbnail" alt=""
srcset="https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-310x205.jpg 310w, https://DOMAIN/wp-content/uploads/2025/11/IMG-20251121-WA0020-1024x682.jpg 1024w"
sizes="(max-width: 310px) 100vw, 310px"></a></dt>
</dl>
</div>selector: .entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image
anti selector: .blog, .archive, .emoji, .attachment-post-image, .no-lightbox- This reply was modified 6 months ago by adipl.
Forum: Plugins
In reply to: [Meow Lightbox] Unnecessary database queries: about layout imagesThanks for answer. I found solution – in settings, Lightbox -> performance, I unchecked the option “Output Buffering Enable”. And now plugin not make query about layouts images. And page load faster.
I’m sorry for the trouble
Forum: Plugins
In reply to: [Meow Lightbox] Unnecessary database queries: about layout imagesThanks for your answer and new version.
It seems to me that after changing to 5.1.1 it works even worse.
WP 6.1.1 with Classic EditorOn the home page (I’m logged into the WP panel, the cache plugin is disabled). Query monitor results:
Plugin: meow-lightbox 40 select query 1 show, time: 0.198s
all queries (on page) /total: 67 select 1 show total time 0.2039Caller: Meow_MWL_Core->resolve_image_id() 20 select 1 show 0.1972 time
var mwl_settings = {“plugin_url”:”http:\/\/mydomain.test\/wp-content\/plugins\/meow-lightbox\/classes\/”,”settings”: {“backdrop_opacity”:85,”theme”:”dark”,”orientation”:”auto”,
“selector”:”.entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image”,“deep_linking”:false,”social_sharing”:false,”separate_galleries”:false, “animation_toggle”:”none”,”animation_speed”:”normal”, “low_res_placeholder”:false,”wordpress_big_image”:false,
“right_click_protection”:true,”magnification”:true,
“anti_selector”:”.blog, .archive, .emoji, .attachment-post-image, .no-lightbox”,”preloading”:false,”download_link”:false, “caption_source”:”caption”,”caption_ellipsis”:true,”exif”:{“title”:””,”caption”:”1″,”camera”:””,”date”:false,
“date_timezone”:false,”lens”:””,”shutter_speed”:””,
“aperture”:””,”focal_length”:””,”iso”:”” ,”keywords”:false},”slideshow”:{“enabled”:false,”timer”:3000},”map”:{“enabled”:false}}};On my homepage I don’t have (in generated soucecode) any classes from “.entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image”
And your plugin make select for 40 images from static layout or posts. Why your plugin try images when they are not in one of Selector?Maybe, to all the images on the page I should add a class with one of the anti-selector?
In functions.php i have:wp_deregister_script(‘heartbeat’);
wp_dequeue_style(‘wp-block-library’);
wp_dequeue_style(‘wp-block-library-theme’);
wp_dequeue_style(‘global-styles’);
remove_action(‘wp_head’, ‘feed_links_extra’, 3);
remove_action(‘wp_head’, ‘feed_links’, 2);
remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7);
remove_action(‘admin_print_scripts’, ‘print_emoji_detection_script’);
remove_action(‘wp_print_styles’, ‘print_emoji_styles’);
remove_action(‘admin_print_styles’, ‘print_emoji_styles’);
remove_filter(‘the_content_feed’, ‘wp_staticize_emoji’);
remove_filter(‘comment_text_rss’, ‘wp_staticize_emoji’);
remove_filter(‘wp_mail’, ‘wp_staticize_emoji_for_email’);
add_filter(‘tiny_mce_plugins’, ‘disable_emojis_tinymce’);- This reply was modified 2 years, 8 months ago by adipl.
Thanks 🙂
Thank you very much for your reply.