Replies: 2 comments 1 reply
-
I'm sorry I think that in this version 3.995 I've added also a bug in systems with php 8. :-(
The problem is due to operating system checkboxes, I'll fix it this
evening. It didn't happen in my installation with php 7.4.
Giulio
Il dom 20 nov 2022, 10:23 Jeff Alagar ***@***.***> ha scritto:
… Hi! What could be the possible issue with this one after I updated to the
latest version?
Fatal error: Uncaught TypeError: str_replace(): Argument #2
<#2> ($replace) must be of
type string when argument #1
<#1> ($search) is a string in
/home//src/componenti/7banner/_include/banner.class.php:1291 Stack trace:
#0 /home/src/componenti/7banner/_include/banner.class.php(1291):
str_replace('##se_os##', Array, 'INSERT into 7ba...') #1
<#1>
/home//src/componenti/7banner/index.php(175):
Banner->updateAndInsert(Array, Array) #2
<#2> {main} thrown in
/home//src/componenti/7banner/_include/banner.class.php on line 1291
This triggers when adding or updating banners.
PHP version: 8.0
—
Reply to this email directly, view it on GitHub
<#55>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOI6C4EQFZSRRY5P5HK5ADWJHUX3ANCNFSM6AAAAAASFX7JYA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
No worries kinda think it has something to do with the OS targeting feature too :) Yup, I'm on PHP8. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! What could be the possible issue with this one after I updated to the latest version?
Fatal error: Uncaught TypeError: str_replace(): Argument #2 ($replace) must be of type string when argument #1 ($search) is a string in /home//src/componenti/7banner/_include/banner.class.php:1291 Stack trace: #0 /home/src/componenti/7banner/_include/banner.class.php(1291): str_replace('##se_os##', Array, 'INSERT into 7ba...') #1 /home//src/componenti/7banner/index.php(175): Banner->updateAndInsert(Array, Array) #2 {main} thrown in /home//src/componenti/7banner/_include/banner.class.php on line 1291
This triggers when adding or updating banners.
PHP version: 8.0
Beta Was this translation helpful? Give feedback.
All reactions