• Resolved hug0g

    (@hug0g)


    Hello,

    Since this afternoon my site crashes and when I look at the logs I get this error:

    PHP Fatal error:  Uncaught TypeError: array_merge(): Argument #2 must be of type array, string given in /wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-post-types.php:1880
    Stack trace:
    #0 /wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-post-types.php(1880): array_merge(Array, '')
    #1 /wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-post-types.php(1597): WP_Job_Manager_Post_Types::get_job_listing_fields()
    #2 /wp-includes/class-wp-hook.php(324): WP_Job_Manager_Post_Types->register_meta_fields('')
    #3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /wp-settings.php(695): do_action('init')
    #6 /wp-config.php(90): require_once('/home/********/...')
    #7 /wp-load.php(50): require_once('/home/********/...')
    #8 /wp-blog-header.php(13): require_once('/home/********/...')
    #9 /index.php(17): require('/home/********/...')
    #10 {main}
    thrown in /wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-post-types.php on line 1880

    Overnight updates were made to extensions and the theme, but the problem didn’t appear until this afternoon. Even if I deactivate the extensions one by one and rollback the theme, I can only get the site to work by deactivating WP Job Manager…

    Has anyone encountered this error before? Any idea where the problem might be coming from?

    Many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Deric (a11n)

    (@dericleeyy)

    Can we know what version of PHP your site is running? You can find out via wp-admin > Tools > Site Health.

    Could you also provide us with your current theme and list of active plugins? The same info can be easily obtained from Site Health.

    Thread Starter hug0g

    (@hug0g)

    Hello,

    • The PHP version is 8.1.29.
    • The theme is Divi.
    • Active extensions :
    Activity Log

    Advanced Custom Fields

    Alert Notice Boxes

    Async JavaScript

    Autoptimize

    Blackhole for Bad Bots

    Bloom

    Cloudflare

    Code Snippets

    Connector for Gravity Forms and Google Sheets Pro

    Cookie Notice & Compliance for GDPR / CCPA

    Custom Post Type UI

    Divi FilterGrid

    DP Owl Carousel Pro

    Flow-Flow Lite

    GravityExport Lite

    Gravity Forms

    Gravity Forms Delayed Notifications - Basic

    Gravity Forms reCAPTCHA Add-On

    Gravity PDF

    Highlight Search Terms

    Image Map Pro v6

    Limit Submissions Per Time Period

    ManageWP - Worker

    Modern Events Calendar Lite

    Monarch Plugin

    Newsletter, SMTP, Email marketing and Subscribe forms by Brevo

    Ninja Forms

    Ninja Tables

    OneSignal Push Notifications

    Passster

    Photonic Gallery & Lightbox for Flickr, SmugMug, Google Photos & Others

    Popups for Divi

    Redirection

    Restrict Content Pro

    Restrict Content Pro - Ultimate Member

    Simple Divi Shortcode

    Site Kit by Google

    Sticky Menu (or Anything!) on Scroll

    Ultimate Member

    Ultimate Member - User Locations

    UpdraftPlus - Backup/Restore

    User Export (with their Meta Data)

    wpDataTables

    WP Fastest Cache

    WP File Download

    WP Go Maps (formerly WP Google Maps)

    WP Go Maps - Gold Add-on

    WP Go Maps - Pro Add-on

    WP Notification Bar Pro By MyThemeShop

    WPS Hide Login

    WP Stripe Checkout

    Yoast SEO

    Many thanks

    Thread Starter hug0g

    (@hug0g)

    Doesn’t anyone have the same problem?

    @dericleeyy

    • This reply was modified 5 months ago by hug0g.
    Plugin Support Elizabeth (a11n)

    (@helizabethan)

    Hi @hug0g,

    Thanks for providing additional information.

    Please note that we can’t guarantee full compatibility between WP Job Manager and the Divi theme/plugin. For more details, please refer to our compatibility guide.

    To troubleshoot further, please switch your site’s theme to a default WordPress theme such as Twenty Twenty-Four or Storefront and check if the issue persists. If everything works as expected, the issue likely lies with the Divi theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.