• Resolved xtrabet

    (@xtrabet)


    Hello, I don’t understand what’s happening but when i m going over a number of seats, whatever the zone i put an additional seat., the map to book doesn’t appear anymore. It seems to be linked to the registration layout field (in my case at 69526 bytes long, it’s working, and at 77479 it’s not -i added one seat-).

    Can you reproduce it or is it me ^^ ?

    I’m digging to find out what’s going on.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter xtrabet

    (@xtrabet)

    ok i found something in enqueue_public.php, line 89:

    if i comment out (as shown below) the SeatregLayoutService::hideSensitiveData() and it’s working again (i have a password set for the first week allowing people living in the street to book early). If it helps to understant what’s going on ??

            $inlineScript .= 'var dataReg = jQuery.parseJSON(' . wp_json_encode(/*SeatregLayoutService::hideSensitiveData*/($data->registration_layout)) . ');';
    • This reply was modified 1 month, 4 weeks ago by xtrabet.
    Thread Starter xtrabet

    (@xtrabet)

    After few more tests i thought it was due to jQuery.parseJSON with a special character or something. it’s definitly around this line.

    the hideSensitiveData method let me gain some seats but after the problem was still here.

    I’m doing some extra tests to solve this…

    • This reply was modified 1 month, 4 weeks ago by xtrabet.
    Plugin Author thesiim

    (@thesiim)

    Do you have any errors in Browser console? Also do you have access to server error logs?

    Thread Starter xtrabet

    (@xtrabet)

    sure : console

    342-2/:199 Unrecognized feature: 'web-share'.
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:12 JQMIGRATE: Migrate is installed with logging active, version 3.4.1
    148Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
    VM1235 autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js:12 JQMIGRATE: Migrate is installed with logging active, version 3.4.1
    seatreg?seatreg=registration&c=8c93f340fe&page_id=seatreg:27 Uncaught ReferenceError: jQuery is not defined
    at showErrorView (seatreg?seatreg=registration&c=8c93f340fe&page_id=seatreg:27:109815)
    at seatreg?seatreg=registration&c=8c93f340fe&page_id=seatreg:27:109722
    showErrorView @ seatreg?seatreg=registration&c=8c93f340fe&page_id=seatreg:27
    (anonyme) @ seatreg?seatreg=registration&c=8c93f340fe&page_id=seatreg:27
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:12 JQMIGRATE: Migrate is installed with logging active, version 3.4.1
    data:text/javascript;base64,CgkJCShmdW5jdGlvbigpIHsKCQkJCXZhciBmaWxlICAgICA9IFsiaHR0cHM6XC9cL3NvdWRlc2Vjb2xlc3NhdmlnbmV1eC5jb21cL3dwLWNvbnRlbnRcL2V0LWNhY2hlXC9ub3Rmb3VuZFwvZXQtZGl2aS1keW5hbWljLXRiLTYtdGItNTItbGF0ZS5jc3MiXTsKCQkJCXZhciBoYW5kbGUgICA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdkaXZpLXN0eWxlLWlubGluZS1pbmxpbmUtY3NzJyk7CgkJCQl2YXIgbG9jYXRpb24gPSBoYW5kbGUucGFyZW50Tm9kZTsKCgkJCQlpZiAoMD09PWRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJ2xpbmtbaHJlZj0iJyArIGZpbGUgKyAnIl0nKS5sZW5ndGgpIHsKCQkJCQl2YXIgbGluayAgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdsaW5rJyk7CgkJCQkJbGluay5yZWwgID0gJ3N0eWxlc2hlZXQnOwoJCQkJCWxpbmsuaWQgICA9ICdldC1keW5hbWljLWxhdGUtY3NzJzsKCQkJCQlsaW5rLmhyZWYgPSBmaWxlOwoKCQkJCQlsb2NhdGlvbi5pbnNlcnRCZWZvcmUobGluaywgaGFuZGxlLm5leHRTaWJsaW5nKTsKCQkJCX0KCQkJfSkoKTsKCQk=:5 Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
    at data:text/javascript;base64,CgkJCShmdW5jdGlvbigpIHsKCQkJCXZhciBmaWxlICAgICA9IFsiaHR0cHM6XC9cL3NvdWRlc2Vjb2xlc3NhdmlnbmV1eC5jb21cL3dwLWNvbnRlbnRcL2V0LWNhY2hlXC9ub3Rmb3VuZF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@ data:text/javascript;base64,CgkJCShmdW5jdGlvbigpIHsKCQkJCXZhciBmaWxlICAgICA9IFsiaHR0cHM6XC9cL3NvdWRlc2Vjb2xlc3NhdmlnbmV1eC5jb21cL3dwLWNvbnRlbnRcL2V0LWNhY2hlXC9ub3Rmb3VuZFwvZXQtZGl2aS1keW5hbWljLXRiLTYtdGItNTItbGF0ZS5jc3MiXTsKCQkJCXZhciBoYW5kbGUgICA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdkaXZpLXN0eWxlLWlubGluZS1pbmxpbmUtY3NzJyk7CgkJCQl2YXIgbG9jYXRpb24gPSBoYW5kbGUucGFyZW50Tm9kZTsKCgkJCQlpZiAoMD09PWRvY3VtZW50LnF1ZXJ5U2VsZWN0b3JBbGwoJ2xpbmtbaHJlZj0iJyArIGZpbGUgKyAnIl0nKS5sZW5ndGgpIHsKCQkJCQl2YXIgbGluayAgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdsaW5rJyk7CgkJCQkJbGluay5yZWwgID0gJ3N0eWxlc2hlZXQnOwoJCQkJCWxpbmsuaWQgICA9ICdldC1keW5hbWljLWxhdGUtY3NzJzsKCQkJCQlsaW5rLmhyZWYgPSBmaWxlOwoKCQkJCQlsb2NhdGlvbi5pbnNlcnRCZWZvcmUobGluaywgaGFuZGxlLm5leHRTaWJsaW5nKTsKCQkJCX0KCQkJfSkoKTsKCQk=:15
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14 JQMIGRATE: jQuery.fn.keydown() event shorthand is deprecated
    migrateWarn @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14
    obj. @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:16
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14 console.trace
    migrateWarn @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14
    obj. @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:16
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14 JQMIGRATE: jQuery.fn.keyup() event shorthand is deprecated
    migrateWarn @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14
    obj. @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:16
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122
    autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14 console.trace
    migrateWarn @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:14
    obj. @ autoptimize_single_e2620f2ae61d84e5edef5a0b7b95cf96.js?ver=3.4.1:16
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122
    autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7 Uncaught TypeError: Cannot read properties of undefined (reading 'roomData')
    at new SeatReg (autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7:218)
    at autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:77:174
    at autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122:180
    SeatReg @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:7
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:77
    (anonyme) @ autoptimize_single_d7cb064cfff4eeeb2a5fc176668f1fb0.js?ver=1.23.1:122
    Thread Starter xtrabet

    (@xtrabet)

    Thread Starter xtrabet

    (@xtrabet)

    Plugin Author thesiim

    (@thesiim)

    Do you have some sort of cache enabled on your site?

    Thread Starter xtrabet

    (@xtrabet)

    I activated logs in wordpress but i do not have errors except when i did some tests. But no error for now

    Thread Starter xtrabet

    (@xtrabet)

    About cache yes i do.

    let me disable it now

    Thread Starter xtrabet

    (@xtrabet)

    I disabled “optimize javascript” in AutoOptimize plugin and now it’s working perfectly !

    Thank you for this insight! ??

    • This reply was modified 1 month, 4 weeks ago by xtrabet.
Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.