Closed marketania closed 4 months ago
Hello Team, Notifications for some reason not working and i think it might be related to this error i get when i approve or disapprove a listing:
Wordpress 6.5.5 Theme: Houzez (3.2.3) Houzi Rest Api (1.4.0) PHP 8.1.28
======================= E_ERROR line number 285 in file /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzi-rest-api-1.4.0/admin/partials/houzi-rest-api-admin-notify.php.
Error Message: Uncaught Error: Non-static method UserNotification::create_notification() cannot be called statically in /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzi-rest-api-1.4.0/admin/partials/houzi-rest-api-admin-notify.php:285 Stack trace:
thrown
Hi download the zip from here: https://github.com/booleanbites/houzi-rest-api
Deactivate and Remove existing and then install the newer.
This worked thanks.
Hello Team, Notifications for some reason not working and i think it might be related to this error i get when i approve or disapprove a listing:
Wordpress 6.5.5 Theme: Houzez (3.2.3) Houzi Rest Api (1.4.0) PHP 8.1.28
======================= E_ERROR line number 285 in file /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzi-rest-api-1.4.0/admin/partials/houzi-rest-api-admin-notify.php.
Error Message: Uncaught Error: Non-static method UserNotification::create_notification() cannot be called statically in /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzi-rest-api-1.4.0/admin/partials/houzi-rest-api-admin-notify.php:285 Stack trace:
0 /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzi-rest-api-1.4.0/admin/partials/houzi-rest-api-admin-notify.php(181): RestApiNotify->send_push_notification()
1 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/class-wp-hook.php(324): RestApiNotify->parse_notification_data()
2 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
3 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
4 /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/themes/houzez/framework/functions/emails-functions.php(27): do_action()
5 /home/u175528458/domains/XXXXXXX.com/public_html/wp-content/plugins/houzez-theme-functionality/classes/class-property-post-type.php(1120): houzez_email_type()
6 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/class-wp-hook.php(324): Houzez_Post_Type_Property::houzez_disapprove_listing()
7 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
8 /home/u175528458/domains/XXXXXXX.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
9 /home/u175528458/domains/XXXXXXX.com/public_html/wp-admin/admin.php(419): do_action()
10 {main}
thrown