[Plugin: Job Manager] “Invalid argument” when adding new site
-
I’ve got multiple websites running off a single WP3 install. The Job Manager plugin is activated Network-wide.
Before I create a new website, everything is fine. But whenever I create a new website, and go into any of the Job Manager pages (in the back-end) for any website, an error message appears at the top:
Warning: Invalid argument supplied for foreach() in /home/wordpress/www/wp-content/plugins/job-manager/admin.php on line 70
Additionally, the text area box for Job Information is missing. (Which isn’t surprising, given what line 70 is.)
If I uninstall the plugin, and then activate it again, then everything is back to normal. Obviously, I don’t want to uninstall the plugin whenever I need to create a new blog, so any fixes to this problem? Thanks.
Lines 70-74 in /admin.php:
foreach( $options['job_fields'] as $id => $field ) { if( 'textarea' == $field['type'] ) { $textareas[] = $id; } }
- The topic ‘[Plugin: Job Manager] “Invalid argument” when adding new site’ is closed to new replies.