SP Tweet Broken In Joomla 4.0.0 - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

SP Tweet Broken In Joomla 4.0.0

KL

Karen Lontka

Extension 3 years ago

The SP Tweet extension is broken in Joomla 4.0.4. The problem is in components/com_sppagebuilder/helpers/tweet/helper.php. Line 32 is:

        $tweets = json_decode(JFile::read( $cache_file ) );

        but JFile::read is now depreciated and should be rewritten as:

        $tweets = json_decode(file_get_contents( $cache_file ) );

Works after that change, hope this helps.

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #47143

Hello Karen Lontka

Thanks for your feedback. You can use your solution. We are aware of this issue and will fix it in the next update.

Best regards

0