Title: PHP Error After Inserting the code
Last modified: October 14, 2021

---

# PHP Error After Inserting the code

 *  [alicemckenzie34](https://wordpress.org/support/users/alicemckenzie34/)
 * (@alicemckenzie34)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/php-error-after-inserting-the-code/)
 * I’m having an issue suddenly with pulling in job listings from an API. When I
   visit the PHPCode page in the admin interface, this error is above the box with
   all the code: Notice: Trying to get property ‘ID’ of non-object in /home/customer/
   www/tier4group.com/public_html/wp-content/plugins/insert-php-code-snippet/xyz-
   functions.php on line 76
 * When I visit the page where the code is located, [https://www.all-for-skin-beauty.com/](https://www.all-for-skin-beauty.com/)
   I see this error:
 * Parse error: syntax error, unexpected ‘}’, expecting ‘;’ in /home/customer/www/
   tier4group.com/public_html/wp-content/plugins/insert-php-code-snippet/shortcode-
   handler.php(97) : eval()’d code on line 47
    There has been a critical error on
   this website.
 * Any thoughts on why? Thanks for the help.

The topic ‘PHP Error After Inserting the code’ is closed to new replies.

 * ![](https://ps.w.org/nzymes/assets/icon-128x128.png?rev=1666524)
 * [Nzymes](https://wordpress.org/plugins/nzymes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nzymes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nzymes/)
 * [Active Topics](https://wordpress.org/support/plugin/nzymes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nzymes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nzymes/reviews/)

 * 0 replies
 * 0 participants
 * Last reply from: [alicemckenzie34](https://wordpress.org/support/users/alicemckenzie34/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/php-error-after-inserting-the-code/)
 * Status: not resolved