Uncaught Type Error when creating Job Specifications with Job Openings
-
Hello,
I have a problem when creating multi language jobs with the plugin Job Openings:
When I create a new Job, and enter the job specifications like category, or location and create also the second page with the new language I get always the following error message and I do not understand the reason:
Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in /home/www/winap/wp-includes/formatting.php:4320 Stack trace: #0 /home/www/winap/wp-includes/formatting.php(4320): ltrim(Object(WP_Error)) #1 /home/www/winap/wp-content/plugins/advanced-gutenberg/assets/blocks/recent-posts/block.php(1004): esc_url(Object(WP_Error)) #2 /home/www/winap/wp-content/plugins/advanced-gutenberg/assets/blocks/recent-posts/block.php(981): advgbGetTaxonomyTerms('awsm_job_openin...', 5323, false) #3 /home/www/winap/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(433): advgbGetAdditionalTaxInfo(Array, 'tax_additional', Object(WP_REST_Request), 'awsm_job_openin...') #4 /home/www/winap/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1904): WP_REST_Controller->add_additional_fields_to_object(Array, Object(WP_REST_Request)) #5 /home/www/winap/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(550): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request)) #6 /home/www/winap/wp-includes/rest-api/class-wp-rest-server.php(1140): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request)) #7 /home/www/winap/wp-includes/rest-api/class-wp-rest-server.php(987): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/awsm_job...', Array, NULL) #8 /home/www/winap/wp-includes/rest-api.php(495): WP_REST_Server->dispatch(Object(WP_REST_Request)) #9 /home/www/winap/wp-includes/rest-api.php(2832): rest_do_request(Object(WP_REST_Request)) #10 [internal function]: rest_preload_api_request(Array, '/wp/v2/awsm_job...') #11 /home/www/winap/wp-includes/block-editor.php(444): array_reduce(Array, 'rest_preload_ap...', Array) #12 /home/www/winap/wp-admin/edit-form-blocks.php(68): block_editor_rest_api_preload(Array, Object(WP_Block_Editor_Context)) #13 /home/www/winap/wp-admin/post.php(187): require('/home/www/winap...') #14 {main} thrown in /home/www/winap/wp-includes/formatting.php on line 4320
′Maybe somebody can help me.
Thank you and best regards
Elisa
- The topic ‘Uncaught Type Error when creating Job Specifications with Job Openings’ is closed to new replies.