Fatal error “Unknown format specifier m” in custom.php
-
Hi,
I’m getting a fatal error from Dynamic Visibility for Elementor:
The error is thrown by
sprintf()on line 27, apparently because a translated string contains a%m(or an unescaped%) that PHP interprets as an invalid format specifier.I’m running TranslatePress on this site for multilingual content. I also came across another thread in this forum reporting a similar issue in connection with TranslatePress, so I’m wondering if the problem originates there: could TranslatePress be filtering or altering the translated string that gets passed into
sprintf(), adding or changing a%character and causing the fatal error?Has anyone run into this combination before, or is there a fix planned on the plugin side (e.g. escaping the
%in the affected string)?Thanks in advance for any pointers.
->
Uncaught Error: Unknown format specifier “m”
in /home/1367475.cloudwaysapps.com/dqgkcnshyh/public_html/wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/triggers/custom.php on line 27Call stack:
sprintf()
wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/triggers/custom.php:27DynamicVisibilityForElementor\Extensions\DynamicVisibility\Triggers\Custom::register_controls()
wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/sections.php:189DynamicVisibilityForElementor\Extensions\DynamicVisibility\Sections::add_trigger_section()
wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/sections.php:156DynamicVisibilityForElementor\Extensions\DynamicVisibility\Sections::add_trigger_sections()
wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/sections.php:104DynamicVisibilityForElementor\Extensions\DynamicVisibility\Sections::add_visibility_sections()
wp-content/plugins/dynamic-visibility-for-elementor/includes/extensions/dynamic-visibility/sections.php:91
You must be logged in to reply to this topic.