Title: Cache
Last modified: August 21, 2016

---

# Cache

 *  [joycem](https://wordpress.org/support/users/joycem/)
 * (@joycem)
 * [13 years ago](https://wordpress.org/support/topic/cache-7/)
 * I am getting an error.
    Warning: fread() [function.fread]: Length parameter must
   be greater than 0 in …/plugins/maja-envato/maja-envato-output.php on line 85
 * line 85 reads:
    $jsonData = fread( $theFile, filesize( $fileName ));
 * help please 🙁
 * [http://wordpress.org/extend/plugins/maja-envato/](http://wordpress.org/extend/plugins/maja-envato/)

Viewing 1 replies (of 1 total)

 *  [PaulCracknell](https://wordpress.org/support/users/paulcracknell/)
 * (@paulcracknell)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/cache-7/#post-3749510)
 * You can hide the error on by adding an @ infront of the fread() so that the error
   is hidden when it is not working and displays the widget when it is.
 * $jsonData = @fread( $theFile, filesize( $fileName ));
 * This is not the best solution. Perhaps the author may look at why this error 
   is occuring.

Viewing 1 replies (of 1 total)

The topic ‘Cache’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/maja-envato.svg)
 * [Maja Envato](https://wordpress.org/plugins/maja-envato/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maja-envato/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maja-envato/)
 * [Active Topics](https://wordpress.org/support/plugin/maja-envato/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maja-envato/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maja-envato/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [PaulCracknell](https://wordpress.org/support/users/paulcracknell/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/cache-7/#post-3749510)
 * Status: not resolved