Error thrown on requests link on user menu

Hello,

I receive and error when clicking on requests link on user account menu

thrown in /home/xxxxxxxx/public_html/wp-content/plugins/hivepress/includes/class-core.php on line 124
[10-Apr-2024 07:43:32 UTC] PHP Fatal error: Uncaught ReflectionException: Class “HivePress\Templates\requests_edit_page” does not exist in /home/xxxxxxxxxxx/public_html/wp-content/plugins/hivepress/includes/class-core.php:124
Stack trace:

Please help!

Thanks
Elidon

Hi,

If it is possible, please check the PHP error log How to configure WordPress error logs to identify and resolve problems - HivePress Help Center; usually, it contains the detailed error mentions the file and line number where it occurred, and shares errors here.

Hi,

I got more detailed log data and it looks like it is related to the core-php class - please see logs below:

Stack trace:
#0 /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/class-core.php(124): ReflectionClass->__construct()
#1 [internal function]: HivePress\Core->autoload()
#2 /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/helpers.php(273): class_exists()
#3 /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/blocks/class-template.php(94): HivePress\Helpers\create_class_instance()
#4 /home/sssssssss/public_html/wp-content/plugins/hivepress-requests/includes/controllers/class-request.php(376): HivePress\Blocks\Template->render()
#5 [internal function]: HivePress\Controllers\Request->render_requests_edit_page()
#6 /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php(658): call_user_func()
#7 /home/sssssssss/public_html/wp-includes/class-wp-hook.php(324): HivePress\Components\Router->set_page_template()
#8 /home/sssssssss/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /home/sssssssss/public_html/wp-includes/template-loader.php(104): apply_filters()
#10 /home/sssssssss/public_html/wp-blog-header.php(19): require_once(‘/home/sssssssss…’)
#11 /home/sssssssss/public_html/index.php(17): require(‘/home/sssssss…’)
#12 {main}
thrown in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/class-core.php on line 124
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: preg_replace(): Passing null to parameter #2 ($replacement) of type array|string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/components/class-router.php on line 244
[11-Apr-2024 08:14:09 UTC] PHP Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/sssssssss/public_html/wp-content/plugins/hivepress/includes/fields/class-textarea.php on line 144

Thanks

Few more lines of logs:
Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/ssssssss/public_html/wp-content/plugins/hivepress/includes/fields/class-textarea.php on line 144

Deprecated: Return type of HivePress\Queries\Query::serialize() should either be compatible with ArrayObject::serialize(): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/ssssssss/public_html/wp-content/plugins/hivepress/includes/queries/class-query.php on line 532

Hi,

Can someone from HivePress can provide some advice on how how to fix the problem with the the request plugin?

Thanks
Elidon

Hi,

Please send temporary WP access to support@hivepress.io with details for reproducing this issue and we’ll check it. You can create a temporary access link using this plugin: Temporary Login Without Password – WordPress plugin | WordPress.org

Also, please let us know if we can reinstall the Requests extension.

Hi,

I have created and forwarded the support link as requested .

Yes ,of course you can re-install the requests plugin.

Thanks

P.S: to replicate the error please click on the user menu/job requests (requests) menu item

image

Hello,

Any updates ?

Regards

Hi,

Unfortunately, we did not receive a link from you. If you generated it automatically, it may not be received. Please send the link to the temporary access manually to our email.

Hi,

Ok no problem, just forwarded to your email the temporary access link.

Regards

Hi,

We reinstalled the Requests extension, and now everything seems to be working correctly. Please check your site.

Hi,

Thank you very much , now the error is gone.

Regards

1 Like