compucorp / civibooking

CiviBooking is a CiviCRM extension defining a resource booking application that runs on top of the CiviCRM platform.
Other
19 stars 44 forks source link

Fatal error on update to CiviCRM 5.47 #196

Open letitiakayw opened 2 years ago

letitiakayw commented 2 years ago

After updating to CiviCRM 5.47 on a Drupal 7.89/PHP 7.4 setup I get the following fatal error when going to any of the CiviCRM top menu item pages:

Fatal error: Cannot make static method CRM_Contact_BAO_Query_Interface::from() non static in class CRM_Booking_BAO_Query in /home/mysite/www/www/sites/default/files/civicrm/civi_extensions/uk.co.compucorp.civicrm.booking/CRM/Booking/BAO/Query.php on line 270

Is there any hope for this extension anymore?

obione86 commented 2 years ago

Please has anyone been able to solve this issue, we literally have a civi system that is unusable and a very irate customer because if this issue.

mlutfy commented 2 years ago

Here is a patch: https://github.com/coopsymbiotic/civibooking/commit/ce35b7654c80c71dbfb7a519247871d9039e24fb

@obione86 Welcome to CiviCRM. I'm not affiliated with the maintainers of this extension (Compuco). This extension is Free Software, but it usually costs money to develop and support. If your business relies on this, patches or financial support are usually welcomed.

letitiakayw commented 2 years ago

Apologies Obi,I just realized this message is coming from a github thread. Here is my stack exchange thread where someone posted a link to a forked version that worked mostly for me (at least enough to get by). I am grateful for their work, though I am also a cheapskate.

civibooking fatal error -- need suggestions

|

civibooking fatal error -- need suggestions

I'm running Drupal 7.9, CiviCRM 5.50.1 and php 7.4 and am getting this error with CiviBooking:Fatal error: Cann... |

|

|

On Sunday, August 7, 2022 at 03:01:12 PM CDT, Obi Onuorah ***@***.***> wrote:  

Please has anyone been able to solve this issue, we literally have a civi system that is unusable and a very irate customer because if this issue.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

awasson commented 1 year ago

mlutfy, I just updated a copy of civibooking in a recently updated CiviCRM 5.58.1 installation and it works as expected. Thanks for posting that. Hopefully it will be committed and released.

Cheers, Andrew