instagram icon indicating copy to clipboard operation
instagram copied to clipboard

PHP-error display Feed

Open ipnextOne opened this issue 1 year ago • 2 comments

Hi, Feed is integrated and is also displayed correctly in the backend. But in the frontend I get the following error:

PHP Warning: Attempt to read property "data" on null in /var/www/vhosts/website/typo3conf/ext/instagram/Classes/Controller/ProfileController.php line 41

PHP 8.3 Typo3 11.5.36

ipnextOne avatar Mar 25 '24 09:03 ipnextOne

hey. which version did you use? I got the same error with 8.0.0. A downgrade to 7.2.0 fixed it.

LightsOnDeveloper avatar Apr 18 '24 16:04 LightsOnDeveloper

Hi, yes i use version 8. I have commented out this line in the file /ext/instagram/Classes/Controller/ProfileController.php // 'data' => $this->request->getAttribute('currentContentObject')->data,

that work for me.

ipnextOne avatar Apr 18 '24 16:04 ipnextOne