Hi,
Please make sure the Hits in single page option in setting page is disabled.
It may some plugin have effects to some hooks.
Thread Starter
bubdev
(@bubdev)
Thanks, but the option was already disabled. It must be something else.
Could you please try to disable another plugins?
Thread Starter
bubdev
(@bubdev)
I just tested it on a site with no other plugins installed than WP Statistics and running the Twenty Seventeen theme. The problem persists.
It’s very strange because we don’t use any hooks related to wptexturize.
Do you have any custom hook in your functions.php?
Thread Starter
bubdev
(@bubdev)
No, on this test site there’s nothing custom at all. Fresh WP install, no other plugins, just the default theme, typical web hosting (SiteGround). Now also tried the new default theme, Twenty Nineteen. The problem remains.
Please enable WP_DEBUG in your WordPress to see the current error.
Thread Starter
bubdev
(@bubdev)
There’s no related error showing with WP_DEBUG enabled. In the meantime, I had to finish up the project and hand it over to the client. As a solution I decided on using str_replace() instead of relying on wptexturize() to achieve localized quote marks, which works reasonably well.
Thanks a lot for your time and help!