• Hi,
    I like the look of your plugin and would love to be able to use it.
    I’m having difficulty getting it all started.

    I am running WordPress 5.8, Divi 4.10.1. This is a clean install with no other active plugins. I have tried installing easync twice, with the same result. Second time I turned on debugging and have copied the log file contents below.
    I have followed the video tutorial. The only thing I have done substantially differently is to put in a dummy Paypal code, as I don’t have one yet. Amount is set to NZ Dollar.

    I have added 2 pickup locations, 4 car types, 3 car models and 2 actual cars

    After inserting the shortcode, I get the booking search widget. The date fields seem to be non editable and there is no date picker icon in the field.
    The time fields are editable. The pickup location is selectable.

    I’m getting a whole bunch of php errors in the log (below)
    I tried the sql from the logged sql error directly in the phpMyAdmin console and they seem to run without error.

    Before I give up and find another plugin, can you offer any suggestions?

    Thanks in advance
    – Jerry

    [19-Aug-2021 04:54:44 UTC] PHP Notice:  Undefined index: pickup_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1429
    [19-Aug-2021 04:54:55 UTC] PHP Notice:  Undefined index: pickup_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1429
    [19-Aug-2021 04:55:06 UTC] PHP Notice:  Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:15 UTC] PHP Notice:  Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:29 UTC] PHP Notice:  Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:36 UTC] PHP Notice:  Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:56:56 UTC] WordPress database error  for query SELECT * FROM wp_sync_options WHERE option_name = 'sync_car_model' ORDER BY id DESC made by do_action('easync-booking_page_easync-settings'), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingSettingsPage, include('/plugins/easync-booking/modules/settings.php')
    [19-Aug-2021 04:57:11 UTC] PHP Notice:  Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 04:57:21 UTC] PHP Notice:  Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 04:57:29 UTC] PHP Notice:  Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 05:00:55 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:01:24 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:01:57 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:02:05 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:06 UTC] WordPress database error  for query SELECT * FROM wp_sync_rent_car_entries WHERE status = 'active' ORDER BY return_date ASC made by do_action('toplevel_page_easync-booking'), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingHomePage, include('/plugins/easync-booking/modules/home.php')
    [19-Aug-2021 05:03:06 UTC] WordPress database error  for query SELECT * FROM wp_sync_rent_car_entries WHERE status != 'deleted' OR status != 'inactive' ORDER BY return_date DESC made by do_action('toplevel_page_easync-booking'), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingHomePage, include('/plugins/easync-booking/modules/home.php')
    [19-Aug-2021 05:03:39 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:39 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:39 UTC] PHP Notice:  Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:04:29 UTC] PHP Notice:  wpdb::prepare was called <strong>incorrectly</strong>. The query argument of wpdb::prepare() must have a placeholder. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.9.0.) in C:\laragon\www\staging\wp-includes\functions.php on line 5535
    [19-Aug-2021 05:04:29 UTC] WordPress database error Column count doesn't match value count at row 1 for query INSERT INTO <code>wp_sync_options</code> (<code></code>) VALUES () made by do_action('wp_ajax_easync_setting_save'), WP_Hook->do_action, WP_Hook->apply_filters, easync_setting_save
    [19-Aug-2021 05:04:34 UTC] PHP Notice:  Undefined index: pick_time in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 212
    [19-Aug-2021 05:04:34 UTC] PHP Notice:  Undefined index: return_time in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 216
    [19-Aug-2021 05:04:34 UTC] PHP Notice:  Undefined index: date_pick in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 220
    

    [19-Aug-2021 04:54:44 UTC] PHP Notice: Undefined index: pickup_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1429
    [19-Aug-2021 04:54:55 UTC] PHP Notice: Undefined index: pickup_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1429
    [19-Aug-2021 04:55:06 UTC] PHP Notice: Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:15 UTC] PHP Notice: Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:29 UTC] PHP Notice: Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:55:36 UTC] PHP Notice: Undefined index: type_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1460
    [19-Aug-2021 04:56:56 UTC] WordPress database error for query SELECT * FROM wp_sync_options WHERE option_name = ‘sync_car_model’ ORDER BY id DESC made by do_action(‘easync-booking_page_easync-settings’), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingSettingsPage, include(‘/plugins/easync-booking/modules/settings.php’)
    [19-Aug-2021 04:57:11 UTC] PHP Notice: Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 04:57:21 UTC] PHP Notice: Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 04:57:29 UTC] PHP Notice: Undefined index: model_id in C:\laragon\www\staging\wp-content\plugins\easync-booking\easync.php on line 1892
    [19-Aug-2021 05:00:55 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:01:24 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:01:57 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:02:05 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:06 UTC] WordPress database error for query SELECT * FROM wp_sync_rent_car_entries WHERE status = ‘active’ ORDER BY return_date ASC made by do_action(‘toplevel_page_easync-booking’), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingHomePage, include(‘/plugins/easync-booking/modules/home.php’)
    [19-Aug-2021 05:03:06 UTC] WordPress database error for query SELECT * FROM wp_sync_rent_car_entries WHERE status != ‘deleted’ OR status != ‘inactive’ ORDER BY return_date DESC made by do_action(‘toplevel_page_easync-booking’), WP_Hook->do_action, WP_Hook->apply_filters, easyncBookingHomePage, include(‘/plugins/easync-booking/modules/home.php’)
    [19-Aug-2021 05:03:39 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:39 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:03:39 UTC] PHP Notice: Undefined index: sync_meta_box_nonce in C:\laragon\www\staging\wp-content\plugins\easync-booking\car_posttype.php on line 252
    [19-Aug-2021 05:04:29 UTC] PHP Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in C:\laragon\www\staging\wp-includes\functions.php on line 5535
    [19-Aug-2021 05:04:29 UTC] WordPress database error Column count doesn’t match value count at row 1 for query INSERT INTO wp_sync_options () VALUES () made by do_action(‘wp_ajax_easync_setting_save’), WP_Hook->do_action, WP_Hook->apply_filters, easync_setting_save
    [19-Aug-2021 05:04:34 UTC] PHP Notice: Undefined index: pick_time in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 212
    [19-Aug-2021 05:04:34 UTC] PHP Notice: Undefined index: return_time in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 216
    [19-Aug-2021 05:04:34 UTC] PHP Notice: Undefined index: date_pick in C:\laragon\www\staging\wp-content\plugins\easync-booking\forms\car-rental\search-car.php on line 220`

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jerrystewart99

    (@jerrystewart99)

    More information that may be useful:
    Taken from the Console in Firefox Developer Tools

    There seems to be a js error:

    Uncaught TypeError: $(...).datepicker is not a function
        anonymous https://localhost/staging/ line 345 > Function:197
        jQuery 2
    line 345 > Function:197:21
    Thread Starter jerrystewart99

    (@jerrystewart99)

    I’ve sorted out what is causing the error but leaving this post unresolved to provide information/feedback.

    The latest Divi update includes performance enhancements that lazy load jQuery and js (if I’ve got that right). If you turn off those enhancements in Divi settings, then the date picker works ok and the plugin appears functional.

    Note that I’m still getting php index errors and sql errors in the log though.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Errors when setting up car rental’ is closed to new replies.