Admin UI (settings) has critical PHP error
-
Hi,
when i open in my multisite’s subsite the settings (admin) page of “Network Posts Extended” plugin, I get following error in my Apache error log and page crash.
[Fri Apr 19 05:30:08.974202 2024] [php:error] [pid 39699] [client 87.92.171.122:61928] PHP Fatal error:? Uncaught TypeError: fgets(): Argument #1 ($stream) must be of type resource, bool given in /var/www/html/wp-content/plugins/network-posts-extended/components/NetsPostsTemplateRenderer.php:42\nStack trace:\n#0 /var/www/html/wp-content/plugins/network-posts-extended/components/NetsPostsTemplateRenderer.php(42): fgets()\n#1 /var/www/html/wp-content/plugins/network-posts-extended/components/NetsPostsTemplateRenderer.php(30): NetworkPosts\\Components\\NetsPostsTemplateRenderer::render_template()\n#2 /var/www/html/wp-content/plugins/network-posts-extended/components/resizer/NetsPostsThumbnailResizerClient.php(64): NetworkPosts\\Components\\NetsPostsTemplateRenderer::render()\n#3 /var/www/html/wp-content/plugins/network-posts-extended/components/settings/NetsPostsBlogSettingsPage.php(30): NetworkPosts\\Components\\Resizer\\NetsPostsThumbnailResizerClient->get_blog_options_form_html()\n#4 /var/www/html/wp-includes/class-wp-hook.php(324): NetworkPosts\\Components\\Settings\\NetsPostsBlogSettingsPage::print_page()\n#5 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()\n#7 /var/www/html/wp-admin/admin.php(259): do_action()\n#8 /var/www/html/wp-admin/options-general.php(10): require_once(‘…’)\n#9 {main}\n? thrown in /var/www/html/wp-content/plugins/network-posts-extended/components/NetsPostsTemplateRenderer.php on line 42, referer: https://uni321.com/demo/wp-admin/plugins.php
Some information about my WordPress:
- Multisite (uni321.com), the issue happens at uni321.com/demo subsite
- Latest WordPress version 6.5.2
- I have protected the filesystem (plugins do not have write permission to directories, except uploads) and I use FTPS updates
So, I cannot use the plugin. Any idea when this bug would be fixed?
- The topic ‘Admin UI (settings) has critical PHP error’ is closed to new replies.