“Array to string conversion” PHP error
-
Hi, first of all, thanks for this super helpful free plugin!
I was just looking through our production error logs today and noticed this reoccurring error message. Here’s the stack trace:
PHP Notice: Array to string conversion in /…/wp-content/plugins/wp-job-manager/includes/forms/class-wp-job-manager-form-submit-job.php on line 523
PHP Stack trace:
PHP 1. {main}() /…/index.php:0
PHP 2. require() /…/index.php:17
PHP 3. wp() /…/wordpress/wp-blog-header.php:16
PHP 4. WP->main() /…/wordpress/wp-includes/functions.php:955
PHP 5. do_action_ref_array() /…/wordpress/wp-includes/class-wp.php:746
PHP 6. WP_Hook->do_action() /…/wordpress/wp-includes/plugin.php:515
PHP 7. WP_Hook->apply_filters() /…/wordpress/wp-includes/class-wp-hook.php:323
PHP 8. WP_Job_Manager_Form->process() /…/wordpress/wp-includes/class-wp-hook.php:298
PHP 9. WP_Job_Manager_Form_Submit_Job->submit_handler() /…/wp-content/plugins/wp-job-manager/includes/abstracts/abstract-wp-job-manager-form.php:79
PHP 10. WP_Job_Manager_Form_Submit_Job->save_job() /…/wp-content/plugins/wp-job-manager/includes/forms/class-wp-job-manager-form-submit-job.php:475
PHP 11. implode() /…/wp-content/plugins/wp-job-manager/includes/forms/class-wp-job-manager-form-submit-job.php:523My best guess is that $job_slug is occasionally a multi-dimensional array.
Thanks for looking into this!
– Micah
Web Developer @ Goshen College
The topic ‘“Array to string conversion” PHP error’ is closed to new replies.