- Posts: 363
- Thank you received: 25
PHP 8.0 Error
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
3 years 3 months ago - 3 years 3 months ago #147752
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
PHP 8.0 Error was created by Stephen
Hi
Just tested with PHP 8.0 and had this error
0
Non-static method OSappscheduleCategory::display() cannot be called staticallyCall
Any idea how to fix this?
Regards
Stephen
Just tested with PHP 8.0 and had this error
0
Non-static method OSappscheduleCategory::display() cannot be called staticallyCall
Any idea how to fix this?
Regards
Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 3 years 3 months ago by Stephen.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
3 years 3 months ago #147753
by Mr. Dam
Replied by Mr. Dam on topic PHP 8.0 Error
Hi Stephen,
To solve this issue, please following below steps
1. Open file: root -> components -> com_osservicesbooking -> classes -> category.php
2. Find:
and change to
Thanks
Dam
To solve this issue, please following below steps
1. Open file: root -> components -> com_osservicesbooking -> classes -> category.php
2. Find:
Code:
function listCategories()
Code:
static function listCategories()
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
3 years 3 months ago #147754
by Mr. Dam
Replied by Mr. Dam on topic PHP 8.0 Error
And do the same with file: category.html.php
and change to
Thanks
Dam
Code:
function listCategories($categories,$params,$list_type,$introtext)
Code:
static function listCategories($categories,$params,$list_type,$introtext)
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 363
- Thank you received: 25
3 years 3 months ago #147761
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Replied by Stephen on topic PHP 8.0 Error
Hi
Just changed it in the files you mentioned, but after the change I still have the same error showing up.
Regards
Stephen
Just changed it in the files you mentioned, but after the change I still have the same error showing up.
Regards
Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12961
- Thank you received: 1679
3 years 3 months ago #147765
by Mr. Dam
Replied by Mr. Dam on topic PHP 8.0 Error
Hi Stephen,
Please submit ticket on category OS Services Booking and i will check the issue for you
Thanks
Dam
Please submit ticket on category OS Services Booking and i will check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.