• Resolved horiuko

    (@horiuko)


    Hello,

    I have downloaded the plugin and it is a wonderful job is coupled to what you want on my website. But the following happens. when I try to create the activities and click on ok, it does not save and does not load, in the browser console it shows the following :

    
    Uncaught TypeError: Cannot read properties of undefined (reading 'replace')
        at dayOfMonthFormat (fullcalendar.min.js?ver=3.10.2:7:3393)
        at Function.<anonymous> (fullcalendar.min.js?ver=3.10.2:7:2814)
        at Function.each (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2:3053)
        at o (fullcalendar.min.js?ver=3.10.2:7:2775)
        at Object.<anonymous> (fullcalendar.min.js?ver=3.10.2:7:4365)
        at e (fullcalendar.min.js?ver=3.10.2:6:465)
        at Object.<anonymous> (fullcalendar.min.js?ver=3.10.2:6:24574)
        at e (fullcalendar.min.js?ver=3.10.2:6:465)
        at Object.<anonymous> (fullcalendar.min.js?ver=3.10.2:12:13941)
        at e (fullcalendar.min.js?ver=3.10.2:6:465)
    locale-all.js?ver=3.10.2:1 Uncaught TypeError: Cannot read properties of undefined (reading 'datepickerLocale')
        at Object.<anonymous> (locale-all.js?ver=3.10.2:1:1030)
        at a (locale-all.js?ver=3.10.2:1:453)
        at Object.<anonymous> (locale-all.js?ver=3.10.2:6:13897)
        at a (locale-all.js?ver=3.10.2:1:453)
        at locale-all.js?ver=3.10.2:1:810
        at locale-all.js?ver=3.10.2:1:821
        at locale-all.js?ver=3.10.2:1:270
        at locale-all.js?ver=3.10.2:1:297
    load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2 Uncaught TypeError: f.fullCalendar is not a function
        at bookacti_load_template_calendar (templates.min.js?ver=1.13.0:1:15240)
        at HTMLDocument.<anonymous> (templates.min.js?ver=1.13.0:1:2146)
        at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2:30038)
        at t (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.3:2:30340)

    `

    I manage wordpress in its latest version and plugins: WooCommerce, Limit Login Attempts Reloaded, Booking Activities

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Hello, thanks a lot!

    There may be a conflict with one of your plugins or your theme,
    Can you follow the instructions below “Booking Activities doesn’t work as it should” here in order to identify it:
    https://booking-activities.fr/en/documentation/faq/

    Thread Starter horiuko

    (@horiuko)

    Hi, yes, I have deactivated my other plugins and left only the scheduling plugin. But the browser console shows the error directly from the plugin folder:
    https://prnt.sc/LED9PXWrSPZE

    In the faq you share with me I don’t see anything close to fix it. Can you guide me in the process of solving it? My current php version is 7.4 and as I said before WordPress runs under version 5.9.3.

    Plugin Author yoancutillas

    (@yoancutillas)

    Can you
    – go to WordPress general settings (Settings > General) and Save (even if you change nothing), and try again?
    – go to WordPress general settings (Settings > General), change the Site Language, Save, and try again?

    Indeed, I can see on your site source code that code:

    <script id="moment-js-after">
    moment.updateLocale( 'en', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} );
    </script>

    As you can see, the locale is “en” istead of “en_US”, it means that your site language has not been properly set.

    The issue has been reported here (the following parameters should not be null: ‘LTS’, ‘L’, ‘LLLL’). This bug should be fixed in WordPress 6.0 (planning).

    Thread Starter horiuko

    (@horiuko)

    Hello, me again. What a pity to be so annoying… I just dropped by to tell you that it worked! ?? I carried out the first recommendation:

    “– go to WordPress general settings (Settings > General) and Save (even if you change nothing), and try again?”

    By doing so, the calendar was displayed and I was able to generate the activity. I appreciate the support and thank you for developing this plugin.

    Plugin Author yoancutillas

    (@yoancutillas)

    No problem, you are welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Js errors with plugin files’ is closed to new replies.