Title: PHP Fatal error get_occurrence_row()
Last modified: November 11, 2022

---

# PHP Fatal error get_occurrence_row()

 *  Resolved [Hau Nguyen](https://wordpress.org/support/users/nhhau/)
 * (@nhhau)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/)
 * I got this error.
    PHP Fatal error: Uncaught TypeError: Return value of TEC\Events_Pro\
   Custom_Tables\V1\Models\Provisional_Post::get_occurrence_row() must be an instance
   of TEC\Events\Custom_Tables\V1\Models\Occurrence or null – I fixed it temp by
   changing this code: [https://www.dropbox.com/s/ginrer4j42grqsl/2022-11-11_21-08-01.jpg?dl=0](https://www.dropbox.com/s/ginrer4j42grqsl/2022-11-11_21-08-01.jpg?dl=0)
   Please help me check and fix it. Thank you!

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

 *  [Erica](https://wordpress.org/support/users/eeide/)
 * (@eeide)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/#post-16202568)
 * Hi [@nhhau](https://wordpress.org/support/users/nhhau/),
      We wanted to let 
   you know that with our latest release of Events Calendar Pro version 6.0.3, we
   resolved the issue with the “Fatal error > Uncaught TypeError: Return value of…
   Provisional Post” that you were experiencing. Be sure to review our full [Release Notes](https://theeventscalendar.com/release-notes/events-calendar-pro/events-calendar-pro-6-0-3/)
   for more details.   We also released The Events Calendar version 6.0.4 which 
   contains new features and fixes. We recommend updating both plugins to the latest
   released versions. You can review those [Release Notes](https://theeventscalendar.com/release-notes/the-events-calendar/the-events-calendar-6-0-4/)
   as well.   As always, we suggest [testing updates on a staging site first](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/),
   and having a recent backup, but it should all be smooth sailing. If you implemented
   any workarounds, you may remove them after updating.
 * If you find that today’s release doesn’t solve the issue for you, please [open a ticket for Events Calendar Pro via our premium support](https://theeventscalendar.com/support),
   as we are unable to support customers of premium plugins in these forums.
 * Have a great rest of your day!
      Thank you, Erica
 * ________________________
 * Internal Bug Ticket Reference:
    ECP-1402 & ECP-1389
 *  Thread Starter [Hau Nguyen](https://wordpress.org/support/users/nhhau/)
 * (@nhhau)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/#post-16202621)
 * Thanks for the update.
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/#post-16215714)
 * Hi [@nhhau](https://wordpress.org/support/users/nhhau/), no worries. Please do
   keep us posted if that fixes the issue you’re having.
 * Have a great weekend.
 * Best,
    Abz
 *  Plugin Support [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * (@abzlevelup)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/#post-16275305)
 * Hi [@nhhau](https://wordpress.org/support/users/nhhau/),
 * We haven’t heard from you in a while, so I’m going to mark this as resolved. 
   Feel free to start a new thread if you have any more questions.

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

The topic ‘PHP Fatal error get_occurrence_row()’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [WilloftheD](https://wordpress.org/support/users/abzlevelup/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-get_occurrence_row/#post-16275305)
 * Status: resolved