Hallo Community,
ich habe einen Shop, der mir bei einigen Plugins folgenden Fehler im Backend wirft. Wie kann ich die Ursache finden? Ich habe bereits alle Standard-Dateien neu hochgeladen, Kundendaten gelöscht und alle anderen Plugins deaktiviert. Das Problem tritt anscheinend auf, wenn ein Plugin das Backend erweitert. Es liegt nicht am Plugin. In meiner Entwicklungsumbeung und 1000 anderen Shops, laufen die Plugins problemlos. Ich habe auch andere PHP Versionen getestet und natürlich die Fehlerausgabe aktiviert. Ich komme jetzt aber nicht mehr weiter.
Wie finde ich das eigentlich Problem? Hilfe!
Expected an identifier and instead saw ‚<‘.
Missing „;“ before statement
Expected an identifier and instead saw ‚<‘.
<h2><span class="frontend_error_exception">Ups! An error has occurred!</span></h2>
<p>
<span class="frontend_error_exception">The following hints should help you.</span>
</p>
<h3>Unable to load template snippet 'string:{include file=&quot;backend/customer/model/customer.js&quot;}
{include file=&quot;backend/customer/model/debit.js&quot;}
{include file=&quot;backend/customer/model/payment_data.js&quot;}
{include file=&quot;backend/customer/model/order.js&quot;}
{include file=&quot;backend/customer/model/chart.js&quot;}
{include file=&quot;backend/customer/model/batch.js&quot;}
{include file=&quot;backend/customer/model/address.js&quot;}
{include file=&quot;backend/customer/model/quick_view.js&quot;}
{include file=&quot;backend/customer/model/customer_stream.js&quot;}
{include file=&quot;backend/customer/view/main/quick_view.js&quot;}
{include file=&quot;backend/customer/view/main/stream_view.js&quot;}
{include file=&quot;backend/customer/view/main/customer_list.js&quot;}
{include file=&quot;backend/customer/view/main/customer_list_filter.js&quot;}
{include file=&quot;backend/customer/view/main/window.js&quot;}
{include file=&quot;backend/customer/view/main/wizard.js&quot;}
{include file=&quot;backend/customer/view/detail/window.js&quot;}
{include file=&quot;backend/customer/view/detail/base.js&quot;}
{include file=&quot;backend/customer/view/detail/debit.js&quot;}
{include file=&quot;backend/customer/view/detail/comment.js&quot;}
{include file=&quot;backend/customer/view/detail/additional.js&quot;}
{include file=&quot;backend/customer/view/order/list.js&quot;}
{include file=&quot;backend/customer/view/order/chart.js&quot;}
{include file=&quot;backend/customer/view/address/list.js&quot;}
{include file=&quot;backend/customer/view/address/detail/window.js&quot;}
{include file=&quot;backend/customer/view/address/detail/address.js&quot;}
{include file=&quot;backend/customer/view/chart/amount_chart_factory.js&quot;}
{include file=&quot;backend/customer/view/chart/chart.js&quot;}
{include file=&quot;backend/customer/view/chart/meta_chart.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/detail.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/listing.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/preview.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/condition_panel.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/condition_field.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/account_mode_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/age_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_address_with_country_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_canceled_orders_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_no_canceled_orders_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_newsletter_registration_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_no_newsletter_registration_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/is_customer_since_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/is_in_customer_group_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/is_not_in_customer_group_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_order_count_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_at_weekday_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_in_last_days_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_in_last_days_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_in_shop_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_in_shop_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/registered_in_shop_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_registered_in_shop_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_on_device_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_product_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_product_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_product_of_category_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_product_of_category_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_product_of_manufacturer_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_product_of_manufacturer_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_with_delivery_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_with_delivery_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/ordered_with_payment_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_ordered_with_payment_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/has_total_order_amount_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/customer_attribute_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/salutation_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/not_salutation_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/search_term_condition.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/field/attribute_value.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/field/attribute_window.js&quot;}
{include file=&quot;backend/customer/view/customer_stream/conditions/field/operator_field.js&quot;}
{include file=&quot;backend/customer/store/detail.js&quot;}
{include file=&quot;backend/customer/store/orders.js&quot;}
{include file=&quot;backend/customer/store/chart.js&quot;}
{include file=&quot;backend/customer/store/batch.js&quot;}
{include file=&quot;backend/customer/store/address.js&quot;}
{include file=&quot;backend/customer/store/quick_view.js&quot;}
{include file=&quot;backend/customer/store/preview.js&quot;}
{include file=&quot;backend/customer/store/customer_stream.js&quot;}
{include file=&quot;backend/customer/controller/detail.js&quot;}
{include file=&quot;backend/customer/controller/order.js&quot;}
{include file=&quot;backend/customer/controller/main.js&quot;}
{include file=&quot;backend/customer/controller/stream.js&quot;}|backend/customer/plugin-name/view/detail/window.js' in /home/xyz/meine-domain.de/testshop/engine/Library/Smarty/sysplugins/smarty_internal_templatebase.php on line 127</h3>
<h3>Stack trace:</h3>
<div style="overflow:auto;">
<pre>#0 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/View/Default.php(286): Smarty_Internal_TemplateBase->fetch()
#1 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(180): Enlight_View_Default->render()
#2 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(207): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->renderTemplate()
#3 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Plugins/ViewRenderer/Bootstrap.php(124): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->render()
#4 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Event/Handler/Default.php(90): Enlight_Controller_Plugins_ViewRenderer_Bootstrap->onPostDispatch()
#5 /home/xyz/meine-domain.de/testshop/custom/plugins/FroshProfiler/Components/Event/EventManager.php(299): Enlight_Event_Handler_Default->execute()
#6 /home/xyz/meine-domain.de/testshop/custom/plugins/FroshProfiler/Components/Event/EventManager.php(84): FroshProfiler\Components\Event\EventManager->parentNotify()
#7 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Action.php(228): FroshProfiler\Components\Event\EventManager->notify()
#8 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Dispatcher/Default.php(467): Enlight_Controller_Action->dispatch()
#9 /home/xyz/meine-domain.de/testshop/engine/Library/Enlight/Controller/Front.php(225): Enlight_Controller_Dispatcher_Default->dispatch()
#10 /home/xyz/meine-domain.de/testshop/engine/Shopware/Kernel.php(197): Enlight_Controller_Front->dispatch()
#11 /home/xyz/meine-domain.de/testshop/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): Shopware\Kernel->handle()
#12 /home/xyz/meine-domain.de/testshop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(479): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#13 /home/xyz/meine-domain.de/testshop/engine/Shopware/Components/HttpCache/AppCache.php(266): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#14 /home/xyz/meine-domain.de/testshop/vendor/symfony/http-kernel/HttpCache/HttpCache.php(269): Shopware\Components\HttpCache\AppCache->forward()
#15 /home/xyz/meine-domain.de/testshop/engine/Shopware/Components/HttpCache/AppCache.php(106): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass()
#16 /home/xyz/meine-domain.de/testshop/shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#17 {main}</pre>
</div>
<div class="doublespace"> </div>
Gruß
Marco