Type Error Multi Language Error on Job Specifications
-
Hello together,
I have the following problem:
– I have a multi language website in Italian and German
– I create two job offers in two different languages without the job specifications –> it works
– I create two job offers and put in the job specifications like category –> IT DOES NOT WORK UNFORTUNATELY
As soon as I have filled out the job specifications and then click on save I am not able to edit anymore the job which I have created and there is the following error message:
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′Can someone help me please?
Thank you and best regards
Elisa
- The topic ‘Type Error Multi Language Error on Job Specifications’ is closed to new replies.