Title: v5.9.0 introduces severe bugs
Last modified: January 22, 2023

---

# v5.9.0 introduces severe bugs

 *  Resolved [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/)
 * On a site using ACF 6.0.7 we had to disable wp-Typography as it would cause 50x
   errors and would brake the entire page layout when page could be rendered.
   Sorry
   that I don’t have more info to point out what is the issue.

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397820)
 * [@cantoute](https://wordpress.org/support/users/cantoute/) Anything in the PHP
   error log? I’ve tested the release with the free version of ACF 6.0.6, but a 
   quick check with 6.0.7 in my test environment didn’t show any issues. Do the 
   errors go away when you go back to 5.8.x? There should probably be some information
   under Site Health.
 *  Thread Starter [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397823)
 * In my case, investigating this would imply to clone the site and dig in code 
   made by some pigs.
   If it could give some clues, possible that some of the ACF
   fields are declared as numbers and contain text…Perhaps you want to wrap anything
   dealing with ACF in a try catch?
 *  Thread Starter [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397827)
 * reactivated the wp-Typography just to catch error log
 * not sure it’s valuable data for you…
   so sorry I can’t help, debuging wodpress…
   I became allergic
 * I really admire those who has the patience for it (I am TS dev)
 * Thanks so much for your work
 * [Sun Jan 22 19:53:19.605278 2023] [proxy_fcgi:error] [pid 28623:tid 140695142561536][
   client 185.222.240.66:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught
   TypeError: Argument 1 passed to Events::__construct() must be of the type int,
   string given, called in /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-
   news-child/includes/Fights.php on line 220 and defined in /home/bmag/boxemag.
   com/www.prod/wp-content/themes/zox-news-child/includes/Events.php:22\nStack trace:\
   n#0 /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/includes/
   Fights.php(220): Events->__construct()\n#1 /home/bmag/boxemag.com/www.prod/wp-
   content/themes/zox-news-child/includes/Fights.php(38): Fights->getEvent()\n#2/
   home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/includes/Fighters.
   php(207): Fights->__construct()\n#3 /home/bmag/boxemag.com/www.prod/wp-content/
   themes/zox-news-child/includes/Fighters.php(61): Fighters->calculateNulls()\n#
   4 /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/parts/post-
   single.php(921): Fighters->__construct()\n#5 /home/bmag/boxemag.com/www.prod/
   wp-includes/template.php(772): re…’, referer: [https://boxemag.com/](https://boxemag.com/)
   [
   Sun Jan 22 19:53:20.633753 2023] [proxy_fcgi:error] [pid 28545:tid 140695260059392][
   client 66.249.64.190:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught
   TypeError: Argument 1 passed to Events::__construct() must be of the type int,
   string given, called in /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-
   news-child/includes/Fights.php on line 220 and defined in /home/bmag/boxemag.
   com/www.prod/wp-content/themes/zox-news-child/includes/Events.php:22\nStack trace:\
   n#0 /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/includes/
   Fights.php(220): Events->__construct()\n#1 /home/bmag/boxemag.com/www.prod/wp-
   content/themes/zox-news-child/includes/Fights.php(38): Fights->getEvent()\n#2/
   home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/includes/Fighters.
   php(207): Fights->__construct()\n#3 /home/bmag/boxemag.com/www.prod/wp-content/
   themes/zox-news-child/includes/Fighters.php(61): Fighters->calculateNulls()\n#
   4 /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/single-palmares.
   php(4): Fighters->__construct()\n#5 /home/bmag/boxemag.com/www.prod/wp-includes/
   template-loader.php(106):…’[Sun Jan 22 19:53:27.254245 2023] [proxy_fcgi:error][
   pid 28622:tid 140695268452096] [client 2a01:e0a:2b1:d4c0:f943:1463:bcd0:26e2:
   0] AH01071: Got error ‘PHP message: PHP Warning: A non-numeric value encountered
   in /home/bmag/boxemag.com/www.prod/wp-content/themes/zox-news-child/parts/single-
   fighter/stats.php on line 42’, referer: [https://www.google.com/](https://www.google.com/)
    -  This reply was modified 3 years, 3 months ago by [cantoute](https://wordpress.org/support/users/cantoute/).
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397842)
 * You don’t log PHP errors to a file (or logserver)? The stacktrace would be relevant
   for me. There’s no `try ... catch`, but everything should be type checked. Anything
   but an `array` is cast to a string before processing, so it might output garbage,
   but it should not result not blow up the site with a 50x.
 * But anyway, a stack trace or file/line number in wp-Typography would help a lot
   here. Would you maybe be able to install a modified version (either of a single
   file or the whole plugin) to check out a fix?
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397848)
 * [@cantoute](https://wordpress.org/support/users/cantoute/) Thanks. So it probably
   is that `(string)`. Sorry. I’ll have a version ready in a few minutes.
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397876)
 * Hi [@cantoute](https://wordpress.org/support/users/cantoute/), I’ve uploaded 
   version 5.9.1-beta.1 to the repository, which should fix the issue. Could you
   please try it out? You can [download the beta from the repository](https://downloads.wordpress.org/plugin/wp-typography.zip)
   and upload it via your site’s dashboard.
 *  Thread Starter [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16397982)
 * [@pepe](https://wordpress.org/support/users/pepe/) thank you so much for your
   quick reactivity.
 * I’ve tried out 5.9.1-beta.1 and it seams you have nailed my issue.
   Very well 
   done.Thank you <3
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16398011)
 * Thanks for the quick feedback. I’ve release 5.9.1.
 *  Thread Starter [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16398032)
 * So I just discovered the new menu in ACF where we can individually select how
   wp-Typography deals with text fields.
   I noticed it would default as “Treat as
   Title”This could be dangerous on complex setups.Just a thought, perhaps default
   to ‘no filter’ would be safer and for backwards compatibility (and saving me 
   manually selecting every field to be ‘no filter’)
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16398042)
 * Title filtering is pretty gentle, but yeah, maybe feed title would be the better
   default. But it has been like this ever since ACF 5 support has been introduced(
   2018 I believe?).
 *  Thread Starter [cantoute](https://wordpress.org/support/users/cantoute/)
 * (@cantoute)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16402032)
 * looks like I need an update LOL

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘v5.9.0 introduces severe bugs’ is closed to new replies.

 * ![](https://ps.w.org/wp-typography/assets/icon.svg?rev=2663995)
 * [wp-Typography](https://wordpress.org/plugins/wp-typography/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-typography/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-typography/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-typography/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-typography/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-typography/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [cantoute](https://wordpress.org/support/users/cantoute/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/v5-9-0-introduces-severe-bugs/#post-16402032)
 * Status: resolved