• Making the cut with jQuery and MooTools in Joomla: The multiple jQuery libraries loading problem - Part 1

    Although the two libraries MooTools and jQuery can co-exist together, one problem remains as more and more such extensions are made available: each module, plugin, component or even template can come...
  • Add an icon or an image to the 'read more' link in Latest News Enhanced

    Your website's design may require a detail that is not available in the Latest News Enhanced (free and pro) Joomla! extensions. You want to show a link of type Read More but the label is not enough, y...
  • You can create a testimonials section with Trombinoscope Contacts

    In just a few steps you can setup a 'testimonials' section on your Joomla website.
Thu27Apr2017
Information
Print

Troubleshoot: Fatal error

Information
Article Details Article Details Profiles Image from Article Latest News Enhanced Latest News Enhanced Pro SYW Bare Responsive Trombinoscope Contacts Trombinoscope Contacts Pro Truly Responsive Slides Truly Responsive Slides Pro Weblink Logos Weblink Logos Pro
First published April 27, 2017
751 hits - No rating
 
For:
Any Simplify Your Web extension that has an output display

It's been reported a few times that suddenly, after an update, fatal errors occur when accessing an extension created by Simplify Your Web.

Although a major issue (since it may crash the site on some pages), it is easily fixable.

Most extensions we create use an external library that 'consolidates' code. That library is called the Simplify Your Web Extensions Library

It has many advantages, some of which are:

  • it limits the amount of code added to your site, especially if you use several of our extensions,
  • any update that fixes an issue on this code fixes issues in all the extensions at once,
  • it reduces errors and duplication of code.

In older extensions, it was required to download that library manually. Most recent installments include the library, and now updating an extension also updates that library (if outdated) or installs it if missing.

The issue

Unfortunately, the library may go missing at times, either removed manually (over an overzealous cleanup), or during an update or install of an extension or Joomla. The latest has not been identified and we have not been able to reproduce this behavior.

You may end up with an error similar to this one:

Fatal error: Class 'SYWHeaderFilesCache' not found in headerfilesmaster.php on line 13

If any error starts with Fatal error: Class 'SYW...', it is an indicator that the external library is missing.

The remedy

Just download and re-install the library. It should fix the issue.