News:

Dear forum visitors, unfortunately unexpected problems have been occurring since the last forum update. The forum can then no longer be accessed as basic files are deleted. We are now trying to find out how this happens. Thanks!

Main Menu
Support-Forum

Another search and php8

Started by Spark640, 13.04.2022 16:23:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spark640

I have the samr problem as the previous post about the search and php8 so i made sure I was on the latest version of Jdownloads. Still  getting 'mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)'.
Reverted to PHP 7.4 - no more error
  •  

ColinM

Hi
PHP8 has made many changes and difficult to detect in all situations
Could let us know what in search you were doing please.

Was it a very long string?
Colin
Colin M
  •  

Spark640

Hi Colin

Clicked search entered 'Easter' and got the error. After this the error comes up when clicking search. This happens in different browsers, Firefox, Edge and Chrome. Attached is most of the unhandled exception message
  •  

ColinM

Hi
The Exception type 'ValueError' is new in PHP8.
The trail you produced is very long but it does not show where is was called in jD! so could you do the start of the chain please
Colin
Colin M
  •  

Spark640

Hi Colin, that was the beginning, I left out the sensitive server stuff at the end. I've put the site back to PHP 7.4 so everything works fine as it did before, going to leave PHP8 alone for the while but thanks for your time  8)
  •  

ColinM

OK
Note the beginning of the command chain is at the bottom of the error report list!! I should have made i clearer
Colin
Colin M
  •