News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

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
  •