Julian Wilson Holmes
Forum Replies Created
-
Hi Mark,
Thank you so much for the quick patch. I will watch for the update!
Julian
Hello,
My team is also experiencing a lot of performance and php warning issues around this exact filter. This has shown to be a huge slow error factor on multiple of our sites, with the below in our slow log. We are experiencing this with the latest version 3.1.13, but have since this filter was first implemented to use the simplexml_load_file() function.
script_filename = /www/index.php [0x00007f05b4216fa0] simplexml_load_file() /www/wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-svg.php:197 [0x00007f05b4216e60] fix_wp_get_attachment_image_svg() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007f05b4216d80] apply_filters() /wordpress/wp-includes/plugin.php:205 [0x00007f05b4216c70] apply_filters() /wordpress/wp-includes/media.php:996 [0x00007f05b4216b60] wp_get_attachment_image_src() /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-helpers.php:3136 [0x00007f05b4216a20] acf_get_attachment() /www/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-image.php:383 [0x00007f05b4216950] format_value() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007f05b4216870] apply_filters() /wordpress/wp-includes/plugin.php:256 [0x00007f05b42167a0] apply_filters_ref_array() /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php:109 [0x00007f05b4216650] _acf_apply_hook_variations() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007f05b4216570] apply_filters() /wordpress/wp-includes/plugin.php:205 [0x00007f05b4216470] apply_filters() /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php:172 [0x00007f05b4216390] acf_format_value() /www/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-group.php:150 [0x00007f05b42162a0] format_value() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007f05b42161c0] apply_filters() /wordpress/wp-includes/plugin.php:256 [0x00007f05b42160f0] apply_filters_ref_array() /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php:109 [0x00007f05b4215fa0] _acf_apply_hook_variations() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007f05b4215ec0] apply_filters() /wordpress/wp-includes/plugin.php:205 [0x00007f05b4215dc0] apply_filters() /www/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php:172 [0x00007f05b4215ce0] acf_format_value() /www/wp-content/plugins/advanced-custom-fields-pro/includes/api/api-template.php:800
We also experience huge slow down in Local by Flywheel with this filter active, to the point that we comment this filter out of our builds. In our local setup, we get a different error than the slow error, constant certificate verification warnings that make sites take minutes to load. When commenting out the filter, sites load as expected. Paths removed for privacy.
error:0A000086:SSL routines::certificate verify failed in ...\app\public\wp-content\plugins\kadence-blocks\includes\class-kadence-blocks-svg.php on line 197 [23-Aug-2023 18:22:14 UTC] PHP Warning: ?simplexml_load_file(): Failed to enable crypto in ...\app\public\wp-content\plugins\kadence-blocks\includes\class-kadence-blocks-svg.php on line 197 [23-Aug-2023 18:22:14 UTC] PHP Warning: ?simplexml_load_file(...\.svg): Failed to open stream: operation failed in ...\app\public\wp-content\plugins\kadence-blocks\includes\class-kadence-blocks-svg.php on line 197 [23-Aug-2023 18:22:14 UTC] PHP Warning: ?simplexml_load_file(): I/O warning : failed to load external entity "...\.svg" in ...\app\public\wp-content\plugins\kadence-blocks\includes\class-kadence-blocks-svg.php on line 197 [23-Aug-2023 18:22:18 UTC] PHP Warning: ?simplexml_load_file(): SSL operation failed with code 1. OpenSSL Error messages:
As mentioned, commenting out this filter resolves all issues and all sites load as expected in all environments.
We love your plugin, so really hope this can be resolved!
Thank you,
JulianForum: Plugins
In reply to: [Video Conferencing with Zoom] Responsive Datatables.js@j_3rk Thank you so much for adding this feature!