Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.4: Trying to access array offset on value of type bool in PWG_Stuffs/modules/FeaturedPhotos/main.inc.php on line 32 #13

Open
hesyifei opened this issue Aug 30, 2020 · 0 comments

Comments

@hesyifei
Copy link

hesyifei commented Aug 30, 2020

Notice: Trying to access array offset on value of type bool in my path/plugins/PWG_Stuffs/modules/FeaturedPhotos/main.inc.php on line 32

This is a new message I got after updating to PHP 7.4 from PHP 7.2.

It seems to be caused by

$page['nb_image_page'] = $datas['nb_images'];

Could probably be fixed by e.g. https://stackoverflow.com/q/59674903/2603230.

@hesyifei hesyifei changed the title Trying to access array offset on value of type bool in plugins/PWG_Stuffs/modules/FeaturedPhotos/main.inc.php on line 32 PHP 7.4: Trying to access array offset on value of type bool in PWG_Stuffs/modules/FeaturedPhotos/main.inc.php on line 32 Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant