WPIntell

Source evidence

Fatal error: Uncaught TypeError…

wp-Typography · support · 2024-11-17T18:32:00+00:00

mixedsentiment
highseverity
0.95relevance
8replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

2 / 24 rows with source links

8.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
HansRuedi resolved
wp-Typography 5.9.1 on top off WP 6.6.2 and PHP Version 8.2.25 with 256 MB memory limit I’ve got a few times the following error in my log: Fatal error: Uncaught TypeError: WP_Typography\Implementation::process(): Return value must be of type string, null returned in /home/www-data/schreibrausch.ch/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php:420 The page I need help with: [ log in to see the link] Somehow, null has been passed instead of a string as the first parameter of ::process . That would likely be an issue in another plugin. Do you have a full stack trace for the call? 1. WP_Typography\Implementation->process()/home/www-data/schreibrausch.ch/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php:325 2. WP_Typography\Implementation->process_title()/home/www-data/schreibrausch.ch/wp-includes/class-wp-hook.php:326 4. apply_filters()/home/www-data/schreibrausch.ch/wp-includes/widgets/class-wp-widget-text.php:233 5. WP_Widget_Text->widget()/home/www-data/schreibrausch.ch/wp-includes/class-wp-widget.php:394 6. WP_Widget->display_callback()/home/www-data/schreibrausch.ch/wp-includes/widgets.php:845 7. dynamic_sidebar()/home/www-data/schreibrausch.ch/wp-content/themes/graphy-pro/sidebar.php:16 10. locate_template()/home/www-data/schreibrausch.ch/wp-includes/general-template.php:136 11. get_sidebar()/home/www-data/schreibrausch.ch/wp-content/themes/graphy-pro/page.php:29 14. require(‘…’)/home/www-data/schreibrausch.ch/index.php:17 15. {main} So there seems to be a null value passed as a widget title. I’ll add a workaround in the next version. @pputzer Perfect. Thank you! @pputzer btw: the error only happens if I de-activate (!) your plugin on an individual page with a sidebar. You mean in the block editor? Yes, that tracks with what I’ve seen in the code. The setting what you show for an individual post or page (this one: «wp-Typography ist für alle Beiträge aktiviert, außer du deaktivierst es über diesen Schalter.»). If it’s on, ok. If I set it to off part of the page (sidebar and footer) will «crash». Tracked via GitHub issue now.

Comments

8 shown
pepe 2024-11-17T18:40:00+00:00

Somehow, null has been passed instead of a string as the first parameter of ::process . That would likely be an issue in another plugin. Do you have a full stack trace for the call?

HansRuedi 2024-11-17T18:51:00+00:00

1. WP_Typography\Implementation->process()/home/www-data/schreibrausch.ch/wp-content/plugins/wp-typography/includes/wp-typography/class-implementation.php:325 2. WP_Typography\Implementation->process_title()/home/www-data/schreibrausch.ch/wp-includes/class-wp-hook.php:326 4. apply_filters()/home/www-data/schreibrausch.ch/wp-includes/widgets/class-wp-widget-text.php:233 5. WP_Widget_Text->widget()/home/www-data/schreibrausch.ch/wp-includes/class-wp-widget.php:394 6. WP_Widget->display_callback()/home/www-data/schreibrausch.ch/wp-includes/widgets.php:845 7. dynamic_sidebar()/home/www-data/schreibrausch.ch/wp-content/themes/graphy-pro/sidebar.php:16 10. locate_template()/home/www-data/schreibrausch.ch/wp-includes/general-template.php:136 11. get_sidebar()/home/www-data/schreibrausch.ch/wp-content/themes/graphy-pro/page.php:29 14. require(‘…’)/home/www-data/schreibrausch.ch/index.php:17 15. {main}

pepe 2024-11-17T19:01:00+00:00

So there seems to be a null value passed as a widget title. I’ll add a workaround in the next version.

HansRuedi 2024-11-17T19:05:00+00:00

@pputzer Perfect. Thank you!

HansRuedi 2024-11-19T09:12:00+00:00

@pputzer btw: the error only happens if I de-activate (!) your plugin on an individual page with a sidebar.

pepe 2024-11-19T19:32:00+00:00

You mean in the block editor? Yes, that tracks with what I’ve seen in the code.

HansRuedi 2024-11-20T10:31:00+00:00

The setting what you show for an individual post or page (this one: «wp-Typography ist für alle Beiträge aktiviert, außer du deaktivierst es über diesen Schalter.»). If it’s on, ok. If I set it to off part of the page (sidebar and footer) will «crash».

pepe 2024-12-15T15:54:00+00:00

Tracked via GitHub issue now.