View Issue Details

IDProjectCategoryView StatusLast Update
0007414OXID eShop (all versions)1. ----- eShop frontend -----public2023-11-15 15:58
Reporternidzo45 Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version6.5.1 
Fixed in Version7.0.0 
Summary0007414: javascript console error, if removing sliders
DescriptionIf I remove this code:

[{????block name="start_manufacturer_slider"}???????????]
        [{???????????if $oViewConf->getViewThemeParam('bl_showManufacturerSlider')}??????????????????]
            [{??????????????????include file="widget/manufacturersslider.tpl"}??????????????????]
        [{??????????????????/if}??????????????????]
    [{??????????????????/block}??????????????????]


from my start.tpl then the Manufacturer slider is gone, that's good too. But whenever I enlarge and reduce my screen, this error comes up:

start.js:55
       Uncaught TypeError: Cannot read properties of undefined (reading 'flexslider')
    at start.js:55:28
    at dispatch (jquery.min.js:3:7537)
    at q.handle (jquery.min.js:3:5620)


I then added the code back and disabled it under Master Data -> Basic Settings -> Performance -> "Load and Display Manufacturer List".

But this triggers the error again. What is the solution now? Is there a solution?
Steps To ReproduceDelete

[{????block name="start_manufacturer_slider"}???????????]
        [{???????????if $oViewConf->getViewThemeParam('bl_showManufacturerSlider')}??????????????????]
            [{??????????????????include file="widget/manufacturersslider.tpl"}??????????????????]
        [{??????????????????/if}??????????????????]
    [{??????????????????/block}??????????????????]

from the start.tpl or deactivate at performance "Load and Display Manufacturer List"
Additional InformationQA - SG - :
Error is in console of browser (e.g. F12 in Firefox)

Error is also display if you uncheck in Themes -> Settings -> Wave -> Display -> Show manufacturer slider on Start page
TagsManufacturer
ThemeWave
BrowserAll
PHP VersionAll
Database VersionAll

Activities

QA

2023-01-31 10:24

administrator   ~0015008

Dear nidzo45,

thank you for reporting this issue.

If you need a fast fix for this issue, you can edit the javascript files to not look for those sliders.
To compile a new script.min.js you can find a guide here: https://github.com/OXID-eSales/wave-theme#development

Best Regards

QA -SG-

SvenBrunk

2023-11-15 15:58

administrator   ~0015748

No longer happens in current Apex theme