Keyword

Simple Rss FeedReader Helper fix for File::read() after update to Joomla 4.2

  • Paul Mitchell
  • Paul Mitchell's Avatar Topic Author
  • Offline
  • New Member
More
2 years 1 month ago #180489 by Paul Mitchell
I am having a problem with one of your extensions that is causing an error "0 Call to undefined method... File::read()" after an upgrade from Joomla 3.9 to 4.2. You can see the full effect that it has on one of my site pages at: www.cftech.com/en/information-resources and I believe a couple of other pages it may have affected as well. It is likely due to depreciated code in the file. Do you have a fix for this? Looking forward to your response.

Please Log in or Create an account to join the conversation.

More
1 year 6 months ago #180982 by Steve
File::Read() is depreciated in Joomla 4 just change that method to file_get_contents()

api.joomla.org/cms-3/deprecated.html#src/Filesystem/File.php

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum