2 fplanque Aug 29, 2019 00:02

I have a log file that is about 1GB per day at the root of the website that contains this error and it uses 80% of the CPU. If the websites are closed, there are no more errors in the logs.
There is no message in the interface of the b2 website, so it will not be possible for me to provide screenshots that I don't know where to look.
@nospy We fixed the bug in commit https://github.com/b2evolution/b2evolution/commit/6c77c3545ac92a55fcb4b3a430273d8e8f06463f
Thank you for the report!
I had this same error using the Facebook widget. This fix solved the problem. I posted my report in the wrong location and later found this solution.
Thanks
Hi @wrc will look at this later today ~ this evening maybe. UK time
Hi Looking at this
mb_strrpos(
string $haystack,
string $needle,
int $offset = 0,
string|null $encoding = null
)
https://www.php.net/mb-strrpos
/inc/_ext/_url_rel2abs.php on line 157
Try editing line 157 from
(mb_strlen($path)-1) == mb_strrpos( $path, '/', 'UTF-8' ) )
to
(mb_strlen($path)-1) == mb_strrpos( $path, '/', $offset = 0, 'UTF-8' ) )
I've made the changes to one of my 7.2.3 collections with no down side, yet :) but I don't use Facebook so can't test.
Thanks for the prompt, I'm not looking at code for quite a long time, though I think this issue is not the same as the topic ??
This post has 3 feedbacks awaiting moderation...
Hello,
The following frequent issues seem to apply to your support request: (This is a semi-automated response):