Warning illegal offset

28 Dec 2019
#1
MyBB version 1.8.21 & PHP version 7.3.7

Since it's rather a warning than an error I think it can't hurt but I still want to share the warning I get when going to the board settings of flyover (Board settings > Flyover settings).
I know this isn't the sub thread flyover but it is hovercards relate since the warning says so

Here is what I see on the screen:

Warning [2] Illegal string offset 'row_options' - Line: 469 - File: inc/plugins/hovercards.php PHP 7.3.7 (Linux)

Warning [2] Illegal string offset 'id' - Line: 469 - File: inc/plugins/hovercards.php PHP 7.3.7 (Linux)
https://snipboard.io/3wkI4i.jpg
Shade 28 Dec 2019
#2
Thanks for reporting, this sounds like a little incompatibility with PHP 7.3+. Anyway, you can turn warnings off in the ACP and let them be logged in a file instead (which should be standard practice).
Enes Palit likes this post
Enes Palit 28 Dec 2019
#3
Ok thanks for the tip
Craven 17 Jan
#4
Warning [2] Illegal string offset 'row_options' - Line: 1643 - File: inc/plugins/bankpipe.php PHP 7.2.24 (Linux)

Warning [2] Illegal string offset 'id' - Line: 1643 - File: inc/plugins/bankpipe.php PHP 7.2.24 (Linux)
The issue extends to bankpipe, with similar errors, though I'm using PHP 7.2.

These errors are shown in a list of 10 warnings when switching to the Flyover Settings tab. 8 of them are 'row_options' and 'id' being referred to in bankpipe.php, the remaining 2 errors are the ones that the OP reported.
Shade 17 Jan
#5
Thanks. Anyway these are just warnings, you can turn them off displaying by enabling error.log logging.