• Resolved Kyle Bondo

    (@leafbreeze)


    Greetings,

    The recent update has caused a new problem. I have a WP Multisite installation. Job Manager works fine on the main site. However, after the update, my subsite that does not use the plugin now states:

    Warning: Creating default object from empty value in [server-path]/wp-content/plugins/job-manager/frontend-jobs.php on line 11

    My subsite only has three pages: HOME, ABOUT, and CONTACT.
    HOME works fine, but ABOUT and CONTACT have the error go across the top and the page content has been replaced with:

    “We currently don’t have any jobs available. Please check back regularly, as we frequently post new jobs. In the meantime, you can also send through your résumé, which we’ll keep on file.”

    When I go into the Job Manager Settings, it will not allow me to change the Job Manager URL (edit link on refreshes the page). Here is what the Job Manager settings URL shows:

    http://[main-domain]/%5Bsubsite-folder%5D/?page_id= (edit)

    So all pages past ROOT become the Job Manager page by default, and I cannot change it (unless I find where it is set in the database… which I may do).

    My first thought is that in WP Multisite, you do not get a choice of which site can sue which plugin. When the plugin is activated, it is available to all sites in the WP Multisite Network. However, Job Manager creates is own pages on activation. This works great for one site, but for WP Multisite, it breaks.

    Do I need to create a fake Job Manager page and hide it just to get my other pages to work? How do I stop Job Manager from bulldozing by content on other pages without breaking the Job Manager on the main site?

    Still trying to figure out a fix for this… any ideas would be great!

    Cheers!

    https://ww.wp.xz.cn/plugins/job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Kyle Bondo

    (@leafbreeze)

    Ok — the fix for WP Multisite is not simple. It requires the following steps (that worked for my setup):

    (1) Super Admin -> Network Deactivate the Job Manager plugin. You will not loose your data, but you should backup your database before hand just to be safe.

    (2) Install Multisite Plugin Manager v3.1.4 (ww.wp.xz.cn/plugins/multisite-plugin-manager/) and Network Activate it. It has not be updated in over a year, but it still works with WP v4.3+.

    (3) Go to the sites that will use the plugin, and activate it via the SITE’S plugin feature (which is normally off in Multisite by default).

    (4) Check to make sure the Job Manager data and pages are back on the site you want it on.

    (5) Go to Settings -> Permalinks and press SAVE CHANGES to rebuild the URL structure and remove all Job Manager plugin hostile takeover settings.

    (6) Test to make sure the error message is gone and the pages you want displayed are now displaying your content and not Job Manager content.

    Now Job Manager is ONLY activated on the site you want it activated on, and NOT activated on the site causing the problem.

    This may not be a proper fix, but it is a hack work-around that removed the error on all my subsites.

    Cheers!

    Plugin Author Thomas Townsend

    (@smb-dev)

    Will look into this for the next update. Thanks for posting.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP Multisite – Plugin impacting sub sites not using plugin’ is closed to new replies.