Support » Plugins and Hacks » twig extension causing a 500 Internal Server Error (frontend/backend)

twig extension causing a 500 Internal Server Error (frontend/backend)

  • I have major troubles with your plugin causing a 500 internal server error on the frontend and backend. It happened a week after I installed it. I manually had to delete the plugin, reinstall it, and all was fine for a day, then the error happened again. In chrome, it says “SERVER ERROR – the website encountered an error while retrieving http://www.jeffcoffin.com – It may be down for maintenance or configured incorrectly. // HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.”

    I narrowed it down to the TWIG folder inside of the VENDOR folder. Is it a necessary extension? I’m using your plugin on the most basic settings (only to rotate images when a page reloads). I’d be delighted to find out if I didn’t need it, because its a great plugin. I host with Media Temple (quoted from their php settings panel: Congratulations, all your domains are using the current stable version of PHP on (gs) (currently 5.3.15) by default.). This is a one-click install of the latest version of WordPress (3.4.2).

    Site link below if you wish to take a look at how the plugin is being used:


    Thanks for your time


Viewing 5 replies - 1 through 5 (of 5 total)
  • Waited two months for this with no response. Will research other methods of contacting the developer if this is not the place.

    Many thanks,

    Art Webb

    Plugin Author myatu



    Sorry for the extreme delay in providing a response. The Twig extension is integral to Background Manager, indeed. The current version, 1.2, uses an updated version of this extension, which may address the issue you are experiencing.

    500 Errors are difficult to diagnose without their corresponding web server log entries, but generally lies with a configuration issue. If you have the corresponding log entries, feel free to forward these to “hello [at] myatus.com”.

    Thanks for the response, could you give me a clue as to where I could find the web server log entries? I understand the wordpress backend, FTP, cpanel backend, MySQL, terminal, etc. but you’ll have to excuse my ignorance on finding a “web server log entry”

    Thanks again for your help,

    Art Webb

    Plugin Author myatu


    With cPanel, the logs are usually located in /etc/httpd/domlogs/(domain)/. If you are using cPanel, you may have to enable it to log internal server errors first. This can be done by editing the /var/cpanel/templates/apache2/vhost.local file with:

    ErrorLog [% serverroot %]/domlogs/[% vhost.log_servername %]-error.log

    Additional logs can be found in the /var/log directory, ie., /var/log/apache2/error.log – these in particular would log information as to why 500 error was generated, rather than just reporting that it happened (as in a web server access log).

    Just enabled “log errors” on the backend, will email errors if it happens on my test server. I’ll come back and mark this as resolved if it doesn’t give a 500 error within a week.

    My client was very happy with your plugin – I’m glad to hear back so that we could have the opportunity to use it again (with the twig folder 🙂


    Art Webb

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘twig extension causing a 500 Internal Server Error (frontend/backend)’ is closed to new replies.