SP Booking - Joomla 4.3.1 - Price Range Selector Missing - Error - Question | JoomShaper

SP Booking - Joomla 4.3.1 - Price Range Selector Missing - Error

WG

Web Global

Extension 10 months ago

Greetings,

after updating to Joomla 4.3.1 the price range selector on the packages side menu is missing and trying to do a search throws the following error "0 explode(): Argument #2 ($string) must be of type string, array given"

There are now jquey errors on the consoles alluding to that perhaps beeing the issue

Uncaught Error: Syntax error, unrecognized expression: a[rel^='prettyPhoto'
    at se.error (jquery.min.js?3.6.3:2:13911)
    at se.tokenize (jquery.min.js?3.6.3:2:21922)
    at se.select (jquery.min.js?3.6.3:2:22749)
    at Function.se [as find] (jquery.min.js?3.6.3:2:7196)
    at E.fn.init.find (jquery.min.js?3.6.3:2:25319)
    at new E.fn.init (jquery.min.js?3.6.3:2:25808)
    at E (jquery.min.js?3.6.3:2:1051)
    at HTMLDocument.<anonymous> (spbooking.js:74:9)
    at e (jquery.min.js?3.6.3:2:30310)
    at t (jquery.min.js?3.6.3:2:30612)

The error is php 8.1 specific, since in php 7.4 it simply returns a no packages found.

Any suggestions?

Thank you!

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 10 months ago #118770

Hello Web Global

Apology for the inconvenience. The price range filter issue seems to be Joomla 4 specific. I will report this issue as a bug to the developer team. They will fix it soon. For the other issues, please replace the below mentioned files. Hopefully, the error will be gone.

Please go to these locations:

  1. components/com_spbooking/models
  2. components/com_spbooking/layouts/packages

Then replace

  1. packages.php
  2. filter.php

file with the attached file. You need to unzip the file and then replace.

  1. packages.php.zip
  2. filter.php.zip

Best regards

0