Results 1 to 4 of 4

Thread: Error: Uncaught PHP Exception Exception after update Contao 3.5 to 4.6

  1. #1
    New user
    Join Date
    10-29-18.
    Posts
    17

    Default Error: Uncaught PHP Exception Exception after update Contao 3.5 to 4.6

    Hi,
    I just finished all jobs with updates and at the end I found many pages with Error 500. Yesterday I work with these pages, but today I have error 500.
    This is log file:
    Code:
    [2018-12-20 15:23:10] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_route":"contao_frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"online"},"request_uri":"http://####################","method":"GET"} []
    [2018-12-20 15:23:10] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
    [2018-12-20 15:23:10] request.CRITICAL: Uncaught PHP Exception Exception: "Could not find template "js_smoothscroll"" at /www/htdocs/#####################/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php line 152 {"exception":"[object] (Exception(code: 0): Could not find template \"js_smoothscroll\" at /www/htdocs/#######################/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateLoader.php:152)"} []
    I had smooth scroll javascript, but I deleted it because it's not work. I tried to found this js_smoothscroll rtemplate, but not success.

    I had this problem at the start of this project, and it is suddenly disappeared, and today I have it again.

    Any help ?

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default

    Try saving the page layouts again.
    Contao Community Moderator
    → Support options

  3. #3
    New user
    Join Date
    10-29-18.
    Posts
    17

    Default Solved

    I found problem and of course solution.
    I had smooth scroll plugin and I deleted it two days ago, because I don't need it. But, there is still some connection with this modul.
    I just install again this plugin, although don't need it, but now I have live all pages, again.
    If somebody have an idea where I can search source of this problem, that will be very helpful.
    Thanks
    Last edited by cleanerrr; 12/21/2018 at 10:00.

  4. #4
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    339

    Default

    As already said, just edit and save your page layouts.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •