donbowman
Forum Replies Created
-
Forum: Plugins
In reply to: [SVG Support] php8 errorI find an error on php8.0
wp_localize_script($handle = 'bodhi_svg_inline', $object_name = 'ForceInlineSVGActive', $l10n = 'false') /app/wp-content/plugins/svg-support/functions/enqueue.php:145"I was trying to find the code to fork it and fix, but the github https://github.com/wp-plugins/svg-support doesn’t match the current version. Am i missing something?
The stack trace is below:
PHP message: PHP Warning: Only the first byte will be assigned to the string offset in /app/wp-includes/class.wp-scripts.php on line 492″
PHP message: PHP Stack trace:”
PHP message: PHP 1. {main}() /app/index.php:0″
PHP message: PHP 2. require() /app/index.php:17″
PHP message: PHP 3. require_once() /app/wp-blog-header.php:19″
PHP message: PHP 4. include() /app/wp-includes/template-loader.php:106″
PHP message: PHP 5. get_header($name = *uninitialized*, $args = *uninitialized*) /app/wp-content/themes/neve/page.php:10″
PHP message: PHP 6. locate_template($template_names = [0 => ‘header.php’], $load = TRUE, $require_once = TRUE, $args = []) /app/wp-includes/general-template.php:48″
PHP message: PHP 7. load_template($_template_file = ‘/app/wp-content/themes/neve/header.php’, $require_once = TRUE, $args = []) /app/wp-includes/template.php:676″
PHP message: PHP 8. require_once() /app/wp-includes/template.php:730″
PHP message: PHP 9. wp_head() /app/wp-content/themes/neve/header.php:22″
PHP message: PHP 10. do_action($tag = ‘wp_head’) /app/wp-includes/general-template.php:3005″
PHP message: PHP 11. WP_Hook->do_action($args = [0 => ”]) /app/wp-includes/plugin.php:484″
PHP message: PHP 12. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /app/wp-includes/class-wp-hook.php:311″
PHP message: PHP 13. wp_enqueue_scripts(”) /app/wp-includes/class-wp-hook.php:287″
PHP message: PHP 14. do_action($tag = ‘wp_enqueue_scripts’) /app/wp-includes/script-loader.php:2004″
PHP message: PHP 15. WP_Hook->do_action($args = [0 => ”]) /app/wp-includes/plugin.php:484″
PHP message: PHP 16. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /app/wp-includes/class-wp-hook.php:311″
PHP message: PHP 17. bodhi_svgs_inline(”) /app/wp-includes/class-wp-hook.php:287″
PHP message: PHP 18. wp_localize_script($handle = ‘bodhi_svg_inline’, $object_name = ‘ForceInlineSVGActive’, $l10n = ‘false’) /app/wp-content/plugins/svg-support/functions/enqueue.php:145″
PHP message: PHP 19. WP_Scripts->localize($handle = ‘bodhi_svg_inline’, $object_name = ‘ForceInlineSVGActive’, $l10n = ‘false’) /app/wp-includes/functions.wp-scripts.php:221″I’ve added a pull request to github
https://github.com/udx/wp-stateless/pull/599
which appears to resolve.Thank you Eric.
What would you suggest for me to debug and work around this? E.g. how can I help diagnose the specific issue?
Forum: Plugins
In reply to: [The Events Calendar] date() expects parameter 2 to be intThanks!
its 7.4.3-4ubuntu2.4 on ubuntu 20.04.1The difference between the non-wp-stateless and the wp-stateless is
/wp-content/plugins/the-events-calendar/common/src/modules/icons/link.svg
is fetched properly when wp-stateless is disabled.If i understand correctly, https://github.com/udx/wp-stateless-buddyboss-addon might be the starting point?
Forum: Plugins
In reply to: [SimpLy Gallery] adopt Neve images?so thank you.
that lead me to https://wordpress.org/support/topic/default-link-to-media-file-when-inserting-images-or-gallery/there is no way to default to link to media file, and, its not obvious to many users this exists.
I guess i have to now go through my site and change each and every image. Ugh.
Forum: Plugins
In reply to: [WPCal.io - Easy Meeting Scheduler] wp 5.6 & php 8.0 support?yeah i know, this was a dry-run.
i plan to switch to 5.6 and php 8.0 in the near to mid future, so i was testing it.
so far so good, this is the only blocker for me.Forum: Plugins
In reply to: [WPCal.io - Easy Meeting Scheduler] Multiple same short code on page hangs?ok thank you!