Uncaught Error: Call to undefined method FooterContentView::assign_menu_boxes()

Thema wurde von sirtet, 13. Dezember 2021 erstellt.

  1. sirtet
    sirtet Erfahrener Benutzer
    Registriert seit:
    4. Juli 2012
    Beiträge:
    1.131
    Danke erhalten:
    89
    Danke vergeben:
    90
    Nach Update von 3.10 auf 3.12...

    Mein Problem ist wohl das da,
    https://www.gambio.de/forum/threads/service-pack-3-11-2-0-erschienen.38796/page-3#post-320234
    aber ich suche noch nach einer Anleitung, wie man das am effizientesten angeht.

    Ich weiss also, da ist eine veraltete USERMOD irgendwo.
    Aber konkret wie finde ich den Problemfall und wie darin die Lösung?
    Alle usermod- Dateien finden die man hat und dann schauen ob es Änderungen in den originalen gab...
    Kann man das irgendwie teil-automatisieren/schlau, effizient machen?

    Ich hab da nähmlich eine Menge:

    $ find ./ -name "*USERMOD*"
    ./templates/Honeygrid/index-USERMOD.html
    ./templates/Honeygrid/assets/javascript/engine/widgets/cart_handler-USERMOD.js
    ./templates/Honeygrid/snippets/category_description-USERMOD.html
    ./templates/Honeygrid/snippets/product_info/product_box_bottom-USERMOD.html
    ./templates/Honeygrid/snippets/product_info/images/product_images-USERMOD.html
    ./templates/Honeygrid/snippets/product_listing/_product_grid_only-USERMOD.html
    ./templates/Honeygrid/snippets/product_listing/_product-USERMOD.html
    ./templates/Honeygrid/snippets/product_listing/product_listing_filter-USERMOD.html
    ./templates/Honeygrid/snippets/navigation/breadcrumb-USERMOD.html
    ./templates/Honeygrid/snippets/header/header_navbar_buttons-USERMOD.html
    ./templates/Honeygrid/boxes/box_categories_left-unnecessary-USERMOD___.html
    ./templates/Honeygrid/boxes/box_categories_top-USERMOD.html
    ./templates/Honeygrid/boxes/box_categories-USERMOD.html
    ./templates/Honeygrid/boxes/box_top_navigation-unnecessary-USERMOD.html
    ./templates/Honeygrid/boxes/box_top_search-USERMOD.html
    ./templates/Honeygrid/module/create_account-USERMOD.html
    ./templates/Honeygrid/module/create_account_guest-USERMOD.html
    ./templates/Honeygrid/module/image_slider-USERMOD.html
    ./templates/Honeygrid/module/login-USERMOD.html
    ./templates/Honeygrid/module/gm_live_search-USERMOD.html
    ./templates/Honeygrid/module/product_info/standard-USERMOD.html
    ./templates/Honeygrid/module/footer-USERMOD.html
    ./templates/Honeygrid/module/checkout_success-USERMOD.html
    ./templates/Honeygrid/module/categorie_listing/categorie_listing_search-USERMOD.html
    ./templates/Honeygrid/module/categorie_listing/categorie_listing-USERMOD.html
    ./templates/Honeygrid/module/head-unnecessary-USERMOD.html
    ./templates/EyeCandy/javascript/social_share_plugin-USERMOD.js
    ./templates/EyeCandy/module/gm_live_search-USERMOD.html
    ./templates/EyeCandy/module/product_info/standard-USERMOD.html
    ./templates/EyeCandy/module/specials_main-USERMOD.html
    ./templates/EyeCandy/module/checkout_success-USERMOD.html
    ./templates/EyeCandy/module/products_new_main-USERMOD.html


    PS:
    Warum macht das nicht der Updater selbst, anzeigen wo man nacharbeiten muss? Naja, ich bin auf einer Uralt-Version, sinnvollere Frage wäre wohl macht der aktuelle Updater das, resp. etwas vergleichbares? Man hat ja keine Usermod dateien mehr... Oder muss man neu nichts mehr anpassen?
     
  2. sirtet
    sirtet Erfahrener Benutzer
    Registriert seit:
    4. Juli 2012
    Beiträge:
    1.131
    Danke erhalten:
    89
    Danke vergeben:
    90
    Die Grundsätzliche Frage bleibt noch, aber den konkreten Fehler hab ich behoben:
    In der index.html wechselte
    {block name="index_inner_wrapper_footer"}{footer}{/block}
    zu
    {block name="index_inner_wrapper_footer"}{$FOOTER}{/block}
    wobei meine USERMODD das block drumrum weglässt.
     
  3. barbara
    barbara G-WARD 2014-2020
    Registriert seit:
    14. August 2011
    Beiträge:
    35.657
    Danke erhalten:
    11.371
    Danke vergeben:
    1.616
    Das ist der Nachteil der USERMOD-Dateien:
    Man muss bei jedem Update nachsehen ob sich die originale Datei geändert hat und die Änderungen in die USERMOD-Version übertragen.
    Das gilt für alle Dateien die man als USERMOD.html hat, auch wenn kein Fehler angezeigt wird.
    Neuerungen sind sonst nicht da und Folgefehler nicht ausgeschlossen.

    Deshalb ist das Überladen der Smarty-Blöcke besser. Da muss man nur seine Anpassung überarbeiten wenn sich genau in dem Block etwas ändert. Wobei man auch hier schauen sollte, ob sich der Block ändert.

    Nachtrag: EyeCandy kannst Du sicher ignorieren, es sei denn Du nutzt das noch.