WordPress.org

Ready to get started?Download WordPress

Forums

Appointment Booking Calendar
[resolved] Calendar doesn't seem to work in WordPress 3.6 (19 posts)

  1. Japh
    Member
    Posted 1 year ago #

    When I click on the weekdays in Calendar Configuration / Administration, no tab is created. However, a JavaScript error is generated:

    Uncaught TypeError: Cannot call method 'addTab' of undefined (all-scripts.js:1162)

    This essentially means nothing is bookable, and makes the plugin useless :(

    http://wordpress.org/plugins/appointment-booking-calendar/

  2. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    That error may happen if the calendar isn't able to load the available slots, probably because there is a plugin that is intercepting the data loading (this may happen with "under construction" plugins that turns off part of the website).

    You can open a private ticket at http://wordpress.dwbooster.com/contact-us and provide the page address to check the problem in detail.

    Thank you!

  3. Japh
    Member
    Posted 1 year ago #

    Unfortunately I can't provide the URL, as it is only in my local development environment.

    Could this be the cause of the problem? That would be a huge shame, as I can't use a plugin that I can't test in my local development environment.

  4. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    It works fine in local environments. As mentioned before the problem should be a conflict with a plugin that is intercepting the data load actions.

    Try with a clean WP installation or disable the plugins one by one to confirm that problem and find which one is causing the conflict. With that information I can point you to the solution.

    Thank you!

  5. Japh
    Member
    Posted 1 year ago #

    Thanks for getting back to me. This is a fresh installation with only your plugin active.

    See my list of plugins here: http://cl.ly/image/1W1J0m2D3S2p

  6. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I'd also need to know the following information:

    - WordPress version
    - Theme used
    - Confirm if the WP admin folder is located in the default location.

    If you don't want to paste the information in this public forum then you can open a private ticket at http://wordpress.dwbooster.com/contact-us

    I've also uploaded a new version of the plugin, I recommend you to install the new one.

    Thank you!

  7. Japh
    Member
    Posted 1 year ago #

    Hi, as mentioned in the subject of the ticket, WordPress 3.6. It is a standard fresh install, so it's Twenty Thirteen theme, and everything is in its default location.

    The version of the plugin still says 1.01, so have you uploaded the new version yet?

  8. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    The same configuration works fine from my side. Probably there is a missing file in the version that you downloaded.

    If possible please download the latest version from this URL, the version it still 1.0.1 but it has some updates:

    http://wordpress.dwbooster.com/uploads/files/appointment-booking-calendar.zip

    I'll appreciate any comments.

    Thank you!

  9. Japh
    Member
    Posted 1 year ago #

    Ok, I've updated and that seems to have done the trick!

    Thanks for sticking with it and helping me find a solution :)

  10. Japh
    Member
    Posted 1 year ago #

    The weekday tickboxes are still a bit buggy...

    Also, now when saving a calendar's settings, I get the following output at the top of the admin:

    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Warning: stripcslashes() expects parameter 1 to be string, array given in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 972
    
    Notice: Undefined index: reminder_hours in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 1042
    
    Notice: Undefined index: reminder_subject in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 1043
    
    Notice: Undefined index: reminder_content in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 1044
    
    Notice: Undefined index: cp_cal_checkboxes in /www/wp-content/plugins/appointment-booking-calendar/cpabc_appointments.php on line 1058
  11. Japh
    Member
    Posted 1 year ago #

    To explain "buggy", here's what I see when I first go to edit the calendar:

    http://cl.ly/image/1X3Y1y2d0N3f

    Then when I select some weekdays, I get this:

    http://cl.ly/image/05131A0K2Q0h

    Something's still not right, huh?

  12. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, I haven't tested the latest version yet with WP_DEBUG in true. I'm working on that right now and it will be ready in a few minutes.

    I'll let you know when ready. Sorry for the inconvenience and thank you for your time!

  13. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi again, the new update is online, it contains some fixes for the problems experienced with WP_DEBUG in true. The "notice" error messages were breaking the data loaded with Ajax, that was the origin of the problem that you experienced.

    Hope all works fine with this new version. Once again thank you for your time and I'll appreciate any comments.

    Thank you!

  14. Japh
    Member
    Posted 1 year ago #

    That seems to be working fine now! Thank you :)

  15. Japh
    Member
    Posted 1 year ago #

    Sorry, mate, still broken. On the front end this time. the pathCalendar variable doesn't get set as there's an Undefined index: path error in cpabc_appointments.php on 1225.

  16. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    New update applied to fix that!

    Thank you!

  17. Japh
    Member
    Posted 1 year ago #

    Error in the admin now ;)

  18. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Which error are you getting? I'm not getting the latest errors from my side.

    If the error is related to the path, could you verify the "Site Address (URL)" specified into your WP Settings >> General >> Site Address (URL)?

    Thank you!

  19. codepeople
    Member
    Plugin Author

    Posted 1 year ago #

    Did you already got it to work?

    If no, please let me know which error are you getting? I'm not getting the latest errors from my side.

    If the error is related to the path, could you verify the "Site Address (URL)" specified into your WP Settings >> General >> Site Address (URL)?

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.