WPIntell

Source evidence

Error while using the plugin with Elementor

Greenhouse Job Board · support · 2019-04-11T14:16:00+00:00

mixedsentiment
mediumseverity
0.84relevance
9replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
tysoncete resolved
I’m getting this error in my console while using this plugin with Elementor: Uncaught TypeError: Cannot read property 'length' of undefined at greenhouse_jobs (greenhouse-job-board-public.js?ver=2.7.3:698) at HTMLDivElement.<anonymous> (greenhouse-job-board-public.js?ver=2.7.3:11) at Function.each (jquery.js:2) at a.fn.init.each (jquery.js:2) at HTMLDocument.<anonymous> (greenhouse-job-board-public.js?ver=2.7.3:10) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2) at Function.holdReady (jquery.js:2) at editor.min.js?ver=2.5.13:2 My shortcode is just [greencode], nothing special about it. Also getting this: {status: 404, error: "Job not found"} error: "Job not found" status: 404 __proto__: Object Any ideas about this?? This topic was modified 7 years, 1 month ago by tysoncete . My wordpress version is actually the last one.. for which this plugin hasn’t been tested: 5.1.1 Try [greenhouse] for your shortcode. Sorry for the typo above. I do use [greenhouse] already. I’m looking at the plugin code itself now, but I’m not that familiar with PHP 😀 Do you have any advices to debug it? Should it work in wordpress 5.1.1? Thanks It looks like you’re not returning any jobs. Can you set a breakpoint on line 698 in greenhouse-job-board-public.js and tell us if you have any jobs in json.jobs? Or do you have a link to your dev site? Thanks for replying. Yeah, it looks like it’s not returning jobs, but I’m not sure why exactly. It’s able to create the estructure but the json is actually empty for some reason. We are trying to implement it here: https://circuscode.wpcomstaging.com/careers/ and we are actively using it here: https://www.bagelcode.com/careers I believe, the token and everything is the same, so it should work.. but it doesn’t. Cheers Hi again, by looking at the code of the original website (the one we are replicating now in WordPress), I can see that the code is: <div id="grnhse_app"></div> <script src="https://boards.greenhouse.io/embed/job_board/js?for=bagelcode"></script> <script>Grnhse.Iframe.load();</script> It might be that the last bit is missing. I’m trying that out now. Yep, it’s working now. Thanks guys, it helped me actually, I was hitting some brick walls with this. Just to mark it as resolved Glad you got it worked out. FYI, the token is only used for POST to the Greenhouse API, like an application submittal. The jobs are publicly available via the API so no need for a token to GET the jobs.

Comments

9 shown
tysoncete 2019-04-11T14:33:00+00:00

My wordpress version is actually the last one.. for which this plugin hasn’t been tested: 5.1.1

brownbagmarketing 2019-04-11T15:31:00+00:00

Try [greenhouse] for your shortcode.

tysoncete 2019-04-11T16:35:00+00:00

Sorry for the typo above. I do use [greenhouse] already. I’m looking at the plugin code itself now, but I’m not that familiar with PHP 😀 Do you have any advices to debug it? Should it work in wordpress 5.1.1? Thanks

brownbagmarketing 2019-04-11T19:33:00+00:00

It looks like you’re not returning any jobs. Can you set a breakpoint on line 698 in greenhouse-job-board-public.js and tell us if you have any jobs in json.jobs? Or do you have a link to your dev site?

tysoncete 2019-04-11T21:07:00+00:00

Thanks for replying. Yeah, it looks like it’s not returning jobs, but I’m not sure why exactly. It’s able to create the estructure but the json is actually empty for some reason. We are trying to implement it here: https://circuscode.wpcomstaging.com/careers/ and we are actively using it here: https://www.bagelcode.com/careers I believe, the token and everything is the same, so it should work.. but it doesn’t. Cheers

tysoncete 2019-04-12T09:25:00+00:00

Hi again, by looking at the code of the original website (the one we are replicating now in WordPress), I can see that the code is: <div id="grnhse_app"></div> <script src="https://boards.greenhouse.io/embed/job_board/js?for=bagelcode"></script> <script>Grnhse.Iframe.load();</script> It might be that the last bit is missing. I’m trying that out now.

tysoncete 2019-04-12T09:29:00+00:00

Yep, it’s working now. Thanks guys, it helped me actually, I was hitting some brick walls with this.

tysoncete 2019-04-12T10:34:00+00:00

Just to mark it as resolved

brownbagmarketing 2019-04-12T12:13:00+00:00

Glad you got it worked out. FYI, the token is only used for POST to the Greenhouse API, like an application submittal. The jobs are publicly available via the API so no need for a token to GET the jobs.