Skip Navigation

[Resolved] Toolset Types breaks WP Job Manager

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 9 replies, has 3 voices.

Last updated by Shane 6 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#867569

I have a site previously developed with Types/Layouts and Toolset Starter which I have now switched to OceanWP.

I have just installed WP Job Manager and discovered that I run into constant 404 errors all over WP Job Manager when Types is active.

As soon as Types is deactivated, WP Job Manager works fine.

Problem is that I need Types to do other things on the site.

I have raised this problem with WP Job Manager support as well, but thought I'd attack it from both sides.

#867819

Just some added information from another thread I was reading:

Just an FYI, chances are that plugin was flushing rewrite rules incorrectly which is why you had this issue ... i've seen it numerous times and even had it happen a couple times on some of my sites. Not to mention flushing rewrite rules is resource intensive so with that plugin disabled it probably runs even faster now 😉

So what I was trying to say out of that is you could just do a search through all plugins for flush_rewrite or just rewrite and try disabling those plugins first

From: hidden link

#868608

Let's turn on server logs and see if any errors are being generated. If you're not familiar with error logs, I can show you how to turn them on temporarily. Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

Then add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');

Activate Types, then go to Settings > Permalinks and click the save or update button. Then, browse until you have seen a few 404 errors. If any server-side errors are generated, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php.

#869427

Hi Christian.

[09-May-2018 18:16:19 UTC] PHP Notice:  Trying to get property 'ID' of non-object in /home/kaizenorg/public_html/wp-content/themes/oceanwp/inc/helpers.php on line 3230
[09-May-2018 18:16:19 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /home/kaizenorg/public_html/wp-content/themes/oceanwp/inc/helpers.php on line 3238
[09-May-2018 18:16:19 UTC] PHP Notice:  Trying to get property 'post_content' of non-object in /home/kaizenorg/public_html/wp-content/themes/oceanwp/inc/helpers.php on line 3244
[09-May-2018 18:16:20 UTC] PHP Deprecated:  Function create_function() is deprecated in /home/kaizenorg/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258

Please note, though, that these 404's happen with Generatepress, Astra, Toolset Starter and Twenty Seventeen, so I think its safe to assume it does not matter which theme I switch to. I may be wrong.

#869468

I don't see anything there that would result in a 404. If you approve, I can log into the wp-admin area, install the Duplicator plugin, and download a clone of your site so I can run some tests locally. Let me know where I can look to find a 404 error.

#871632

Hi Christian.

Yes please go ahead. Let me know if you need anything else from me.

If you go to Employers & Recruiters > List a Job, Select Single Job Ad then proceed, fill in dummy info and hit the preview button for one of the the 404s.

#873801

Okay I've tried several things but can't narrow this one down. When I try to replicate the scenario on a clean installation with only Types and WP Job Manager active, I cannot. I've tried various configuration options but had no luck. I'm escalating this to my 2nd tier support team for further investigation. Please stand by and we will update you when we have some more information to share.

#880721

My 2nd tier team has noticed that deactivating the "Applications" post type resolves the problem. Can you tell us if the Applications post type is related to the Job Listing form in any way?

#888837

Hi Christian.

It's completely separate as far as I can remember, I've only recently started using WP Job manager, but I suppose it's possible that WP Job manager also uses 'application', so there might be conflict there.

Thanks for this.
Turns out I might not need applications any more anyway.

#892936

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Pamela,

As Christian is currently on vacation, I will be handling this ticket.

Would you like for me to debug this further or will you stop using the Applications Post Type.

Thanks,
Shane