Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter sautaroc

    (@sautaroc)

    I fiddled around for quite a while, but couldn’t find the error. In the end I switched to an alternative plugin. Not so efficient but working without trouble…

    Thread Starter sautaroc

    (@sautaroc)

    that will give me the following console errors (force to head and try/catch activated):

    thickbox.js?ver=3.1-20121105:304 Uncaught ReferenceError: TB_WIDTH is not defined
        at tb_position (thickbox.js?ver=3.1-20121105:304)
        at autoptimize_939077614c495b155f8debac08c4a8c0.js:655
        at dispatch (jquery.js?ver=1.12.4-wp:3)
        at r.handle (jquery.js?ver=1.12.4-wp:3)
        at Object.trigger (jquery.js?ver=1.12.4-wp:3)
        at jquery.js?ver=1.12.4-wp:3
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
        at autoptimize_939077614c495b155f8debac08c4a8c0.js:125

    the options disactivated will give this:

    (index):47 Uncaught ReferenceError: ECS_update_admin_bar_menu is not defined
        at (index):47
    (anonymous) @ (index):47
    acf-input.min.js?ver=5.9.0:3 Uncaught TypeError: Cannot read property 'autop' of undefined
        at acf.Model.onReady (acf-input.min.js?ver=5.9.0:3)
        at u (acf.min.js?ver=5.9.0:1)
        at Object.n (acf.min.js?ver=5.9.0:1)
        at Object.n.doAction (acf.min.js?ver=5.9.0:1)
        at HTMLDocument.<anonymous> (acf.min.js?ver=5.9.0:1)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    • This reply was modified 4 years, 2 months ago by sautaroc.
    • This reply was modified 4 years, 2 months ago by sautaroc.
    • This reply was modified 4 years, 2 months ago by sautaroc.
    Thread Starter sautaroc

    (@sautaroc)

    it was not disabled, so I did disable it. The error remains, when I disable either force to head or the try catch block ??

    the strange thing is, that I excluded ACF scripts, but they seem to be still there:

    Uncaught TypeError: Cannot read property 'timepicker' of undefined
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
    (index):47 Uncaught ReferenceError: ECS_update_admin_bar_menu is not defined
        at (index):47
    acf-input.min.js?ver=5.9.0:3 Uncaught TypeError: Cannot read property 'autop' of undefined
        at acf.Model.onReady (acf-input.min.js?ver=5.9.0:3)
        at u (acf.min.js?ver=5.9.0:1)
        at Object.n (acf.min.js?ver=5.9.0:1)
        at Object.n.doAction (acf.min.js?ver=5.9.0:1)
        at HTMLDocument.<anonymous> (acf.min.js?ver=5.9.0:1)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    this is my exclude list:

    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, wp-content/plugins/advanced-custom-fields-pro, wp-content/plugins/acf-frontend-form-element

    Thread Starter sautaroc

    (@sautaroc)

    update:

    I could get it running when aggregating JS with the following options:

    – forcing js to head
    – add try-catch block

    To work both options are needed, disabeling one will break the site again.
    This is not very elegant, but I could not find the script hurting. Is there a usual way how to find problem scripts, to then exclude them from autoptimize?

    • This reply was modified 4 years, 2 months ago by sautaroc.
    Thread Starter sautaroc

    (@sautaroc)

    thanks for yout help. It’s a pitty aggregating is not working. That brings my site from a good A on GT-metrix to a D ??
    Further the google search console complains to be not mobile friendly, because they stop asking for the .css at a certain number.

    The point is, that all of this started with one update of one of my plugins, but unfortunately I don’t find the right one. Before everything worked like a charm.

    Thread Starter sautaroc

    (@sautaroc)

    no, all empty.

    Thread Starter sautaroc

    (@sautaroc)

    very strange, none of it works. I did themes, plugins and js one after the other, the problem remains. The moment I disable aggregating js, everything is fine.

    Thread Starter sautaroc

    (@sautaroc)

    same for that. it’s disabled.

    Thread Starter sautaroc

    (@sautaroc)

    no, it’s not enabled.

    Thread Starter sautaroc

    (@sautaroc)

    I have excluded now the following:

    wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js, plugins/advanced-custom-fields/, plugins/advanced-custom-fields-pro/

    error log is:

    Uncaught TypeError: Cannot read property 'timepicker' of undefined
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
        at jquery-ui-timepicker-addon.min.js?ver=1.6.1:1
    (index):47 Uncaught ReferenceError: ECS_update_admin_bar_menu is not defined
        at (index):47
    acf-input.min.js?ver=5.9.0:3 Uncaught TypeError: Cannot read property 'autop' of undefined
        at acf.Model.onReady (acf-input.min.js?ver=5.9.0:3)
        at u (acf.min.js?ver=5.9.0:1)
        at Object.n (acf.min.js?ver=5.9.0:1)
        at Object.n.doAction (acf.min.js?ver=5.9.0:1)
        at HTMLDocument.<anonymous> (acf.min.js?ver=5.9.0:1)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
    Thread Starter sautaroc

    (@sautaroc)

    here you go: https://www.dampfmatiker.de/produkt/voopoo-argus-gt-mod/

    (aggregating js is off now.

    Thread Starter sautaroc

    (@sautaroc)

    Thanks for your reply, but unfortunately this did not resolve the problem.
    these are the errors on the console:

    Uncaught ReferenceError: ECS_update_admin_bar_menu is not defined
        at (index):47
    (index):2189 Uncaught ReferenceError: acf is not defined
        at (index):2189
    (index):2189 Uncaught ReferenceError: acf is not defined
        at (index):2189
    autoptimize_6847b210e2525d82e2d413061d63a296.js:85 Uncaught TypeError: Cannot read property 'autop' of undefined
        at acf.Model.onReady (autoptimize_6847b210e2525d82e2d413061d63a296.js:85)
        at u (autoptimize_6847b210e2525d82e2d413061d63a296.js:82)
        at Object.n (autoptimize_6847b210e2525d82e2d413061d63a296.js:82)
        at Object.n.doAction (autoptimize_6847b210e2525d82e2d413061d63a296.js:82)
        at HTMLDocument.<anonymous> (autoptimize_6847b210e2525d82e2d413061d63a296.js:82)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    this is the console errors when aggregating js-files is of:

    color-picker.min.js?ver=5.5:2 Uncaught TypeError: Cannot read property '__' of undefined
        at color-picker.min.js?ver=5.5:2
        at color-picker.min.js?ver=5.5:2
    (anonymous) @ color-picker.min.js?ver=5.5:2
    (anonymous) @ color-picker.min.js?ver=5.5:2
    • This reply was modified 4 years, 3 months ago by sautaroc.

    Hi everybody,

    I’m facing a similar problem. Aggregating JS-Files will stop showing product images in my shop. I could narrow it down to the ACF Plugin. When disabling it all seems to work fine. So it seems to me that I have to add the ACF plugin to be excluded from aggregating. Unfortunately I do not really nknow how to do so. Can someone give me a hint please?

    Thread Starter sautaroc

    (@sautaroc)

    Thanks for the quick help. Works like a charm now ??

    @vendidero:

    Zun?chst finde ich es natürlich sehr l?blich, dass Ihr euch Gedanken zur MwSt Umstellung gemacht habt und rechtzeitig eine L?sung anbietet. Das spricht für euren Support. Eine Sache st?rt mich bei dem Ganzen jedoch. Das Plugin, welches den Cron-Job ausführt, basiert auf dem Gedanken, die MwSt-Senkung nicht auf den Endpreis wirksam zu machen. Das entspr?che dann letztendlich einer Preiserh?hung seitens der H?ndler. Wir benutzen derzeit auch Bruttopreise. Würden wir jetzt nur einfach den Steuersatz ?ndern, blieben die Verkaufspreise gleich und der Kunde h?tte gar nichts davon. Das kann natürlich jeder H?ndler für sich entscheiden und ich m?chte hier auch keine Diskussion dazu lostreten. Mir geht es einzig darum, den H?ndlern auch eine L?sung anzubieten, wenn die Steuersenkung für den Kunden wirksam sein soll. Für unseren Shop bedeutet das, die Bruttopreise in Nettopreise zu ?ndern, dann den Steuersatz anzupassen und falls n?tig, krumme Preise etwas zu korrigieren. Dazu brauchen wir jetzt nicht unbedingt ein Plugin/skript, mit einem Export/Import der Produkte l?sst sich das l?sen, aber vielleicht würde sich der eine oder andere über eine Komplettl?sung freuen.

Viewing 15 replies - 1 through 15 (of 18 total)