Closed viktorhaid closed 1 year ago
Hey @viktorhaid,
Please can you post the Diagnostic Info for the site where you're seeing this message?
That 2nd param to substr_replace()
shouldn't ever be null
, so there's something in your site's config that is tripping things up that we'd love to figure out.
Hi @ianmjones,
thanks for the hint, that it shouldn't ever be null
.
After debugging i've found the misconfiguration on our site:
WP_HOME
wasn't set here, as we change it afterwards (dynamically) in our setup. Resulted in having just the relative path in $base_url
and $orig_domain
were therefore null
here.
Offloading and fetching the uploads worked nevertheless, so we haven't noticed it before.
Thanks for your willingness to help! I appreciate it! 👌
Hi there, when upgrading our sites to PHP 8.1 we see the following deprecation notices:
Would be cool to have them fixed in upcoming patch releases.