Online Bookings - Support Forum

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with Twitter

In this Discussion

Please note this is a public discussion forum. Never share transactional / customer information and account information.

Issue reports and priority requests should be reported as tickets in your support console.

See our Forum Use Policy for more information.
New Wordpress Plugin Broken
  • V1 Widget breaks site - displays the calendar and then:

    Fatal error: Call to private method CheckfrontWidget::droplet_set() from context '' in /home/lgvtrain/public_html/wp-content/plugins/checkfront-wp-booking/checkfront.php on line 152

    V2 Date choser doesn't work. If you use the arrows in the calendar you can see bookabble events in the months ahead but if you try and select them then it just resorts to the current month.

    Entering date ranges into the pickable calendar dates also creates the same issue.

    Can we have a link to the old version of the plugin ASAP?


  • Hi

    We have reacently updated the WP Plugin to Version 2.5.3. If you have a older one I suggest you update.

    You can see the version number by clicking on Plugins->Installed plugins and looking for "Checkfront Online Booking System"
  • Yes the issue is with the new plugin (2.5.3) following the upgrade.

    If I delete line 152 from the checkpoint.php file in the plugin file at least I can get V1 working without an error.

    V2 of the plugin as toggled by the radio button in the WP Settings is still not working as described above.

  • I am no expert but from what I have read this may be due to the fact the droplet_set has been set to private:

    CheckfrontWidget.php line 272 onwards

        /**
         * legacy droplet settings
         *
         * @param array $set
         * @return string $html
        */
        private function droplet_set($set=array()) {
            if(count($set)) {
                $CF_set = '<input type="hidden" id="CF_set" value="{' . implode(',',$set) . '}" />';
            }
            if($this->book_url) {
                $CF_set .= '<input type="hidden" id="CF_src" value="' . $this->book_url .'" />';
            }
            return $CF_set;
        }