• Resolved tomjohnbrooks

    (@tomjohnbrooks)


    Hi,

    We use JobBoardWP with Ultimate Member to create job boards for our guild members.

    We use File Bird to manage our media folders on the site. Over the last month we have had a Json error occur when we attempt to create a new media folder. We are unable to create a folder and the error that appears states ‘Invalid JSON body passed’.

    Having worked our way through various steps to trouble shoot the issue including using the Health Check & Troubleshooting plugin we’ve found the issue lies with JobBoardWP plugin.

    When this is deactivated we are able to create and save new media folders. Do you have any advice you may be able to offer to help us resolve? Many thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @

    Try to use this hook:

    function remove_jb_globals_script() {
    	global $pagenow;
    	if ( is_admin() && $pagenow === 'upload.php' ) {
    		wp_deregister_script('jb-global');
    	}
    }
    add_action('admin_enqueue_scripts', 'remove_jb_globals_script', 999999 );

    Regards.

    Thread Starter tomjohnbrooks

    (@tomjohnbrooks)

    Thank you Andrew adding that bit of script in resolved our conflict with the filebird plugin perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JobBoardWP causing json error’ is closed to new replies.