Support » Plugin: VikBooking Hotel Booking Engine & PMS » UI jQuery issue and site health problems when VIK Booking activated

  • Resolved nix255

    (@nix255)


    Hi,
    I am testing the VIK Booking free plugin with a view to purchasing the pro version later. However it doesn’t seem to be working properly on my website. I will list the issues below which are backend problems.

    1. When using the VIK Booking dashboard and navigating to: Global -> Configuration, I cannot access the other tabs from this menu, e.g. Prices and Payments, View and Layouts etc. Nothing happens when I click the tabs, and then I can’t access any of the other dashboard menus either. The same happens when I go to the translation menu, I cannot access the other languages in the tabs. In the console I see the following jQuery errors: TypeError: Joomla.editors is undefined, TypeError: e is undefined.
    Are these tabs disabled in the free version?

    2. With VIK Booking activated I am seeing errors on the WordPress Site Health dashboard. These errors are:

    The REST API request failed due to an error.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    The loopback request to your site failed, this means features relying on them are not currently working as expected.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

    These errors disappear with VIK Booking deactivated, and reappear even when VIK Booking is the only plugin activated.

    I am using the latest version of WordPress 5.2.1 and PHP 7.3.5
    I have checked all server settings and there is plenty of memory and timeouts should not be a problem. Curl extension is loaded.

    Can you give me any advice please.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hello,

    The JavaScript error related to Joomla.editors started occurring after the release of the new major series 1.2.x of Vik Booking. That’s a new porting function for our JavaScript libraries, and a patch for this issue was released yesterday. Please uninstall Vik Booking and re-install it because the latest version available is still the 1.2.2 as we decided to wait a little longer to release another update. In any case, the current version 1.2.2 no longer has this issue.

    Regarding the Site Health errors: it looks like you tried to upgrade to the Pro version without success, probably because you do not have a License Key.
    Alternatively, it may be possible that you used the Rates Calculator Tool of the wp-admin page Rates Overview before setting up your Shortcodes. In fact, that’s the only function of Vik Booking that currently relies on cURL.
    If no Shortcodes of type Search Form are configured or used on a page of your website, the cURL endpoint will default to index.php, which will cause a cURL error, probably the ones you see logged in the Site Health dashboard.
    In any case, those errors are simply reporting a connection issue. They do not highlight any dangerous situation. We are going to investigate more on this issue with our programmers to see if anything can be done on our end.

    Plugin Author e4jvikwp

    (@e4jvikwp)

    Hi again,

    We just wanted to update this topic on the subject of the new Site Health controls.
    It looks like the usage of the PHP session of Vik Booking was causing a conflict with the multiple and consequent calls of WordPress made via cURL.
    We have modified our PHP code to close the session for writing during the multiple and simultaneous calls made by Site Health.
    If you install/upgrade to the latest version of Vik Booking, the issues will be gone.

    Thanks for your help. I can confirm that both issues have been resolved in the recent updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.