Upon uploading a cover image to try it out, received the following errors:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/pgreca/pgsocial/social/post_status.php on line 892: Trying to access array offset on value of type bool
[phpBB Debug] PHP Warning: in file [ROOT]/ext/pgreca/pgsocial/social/post_status.php on line 894: Trying to access array offset on value of type bool
Also noticed in the Page Activity the image does not appear (shows the same as image not found)
(solved) Trying to access array offset on value of type bool in ext/pgreca/pgsocial/social/post_status.php
Re: Trying to access array offset on value of type bool in ext/pgreca/pgsocial/social/post_status.php
The following changes corrected the bool error
Locate line 892 which looks like this:
Replace with this:
Locate line 894 which looks like this:
Replace with this:
Locate line 892 which looks like this:
Code: Select all
'gallery_name' => $gallery['gallery_name'],Code: Select all
'gallery_name' => $gallery['gallery_name'] ?? null,Code: Select all
'gallery_privacy' => $gallery['gallery_privacy'],Code: Select all
'gallery_privacy' => $gallery['gallery_privacy'] ?? null,Re: Trying to access array offset on value of type bool in ext/pgreca/pgsocial/social/post_status.php
To get image to appear in activity feed (in my case the link to Page Activity had app.php in the url)
Log into your ACP
in General go down to the SERVER CONFIGURATION section
select the Server settings option
in there under the Path settings area select YES to the Enable URL Rewriting option
Submit to save change
Log into your ACP
in General go down to the SERVER CONFIGURATION section
select the Server settings option
in there under the Path settings area select YES to the Enable URL Rewriting option
Submit to save change
