Title: Error after update
Last modified: July 5, 2019

---

# Error after update

 *  Resolved [bazibbo](https://wordpress.org/support/users/bazibbo/)
 * (@bazibbo)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-after-update-148/)
 * I’ve just started getting this error, I think I’ve just updated the plugin.
 * Warning: dirname() expects exactly 1 parameter, 2 given in /var/sites/t/thecoachy.
   com/public_html/wp-content/plugins/date-time-picker-field/includes/Admin/SettingsLink.
   php on line 24
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/sites/t/thecoachy.com/public_html/wp-content/plugins/date-time-picker-
   field/includes/Admin/SettingsLink.php:24) in /var/sites/t/thecoachy.com/public_html/
   wp-admin/includes/misc.php on line 1198
 * Any ideas anyone?
 * Love the plugin, so would be a real shame if I have to change it.
 * Barrie

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

 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-after-update-148/#post-11703980)
 * Hi [@bazibbo](https://wordpress.org/support/users/bazibbo/) ! Sorry for this 
   issue. This happens because you have an older version of PHP running. Any chance
   you can update your version to PHP 7? It will be the minimum required by WordPress
   itself soon.
 * I wanted to update the minimum version required for my plugin to 7 also, but 
   left it at 5.6.2, so it was an error on my part to already include php7 code 
   on this version, sorry about this. If you can’t update PHP to version 7, I’ll
   try to release a fix soon, to make it compatible with older versions of PHP.
 * Greetings, Carlos
 *  Thread Starter [bazibbo](https://wordpress.org/support/users/bazibbo/)
 * (@bazibbo)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-after-update-148/#post-11710652)
 * That works great 🙂
 * Thanks Carlos
 *  [ashikalgar](https://wordpress.org/support/users/ashikalgar/)
 * (@ashikalgar)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-after-update-148/#post-11924258)
 * Hi,
    I am getting similar error my, php version of my site is 5.6.4. also some
   id’s are repeating multiple times. is there any solution for this.
 * Thanks
    -  This reply was modified 6 years, 8 months ago by [ashikalgar](https://wordpress.org/support/users/ashikalgar/).
    -  This reply was modified 6 years, 8 months ago by [ashikalgar](https://wordpress.org/support/users/ashikalgar/).
 *  [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * (@carlosmoreirapt)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-after-update-148/#post-11925760)
 * Hi [@ashikalgar](https://wordpress.org/support/users/ashikalgar/) can you confirm
   which version you have installed and what error exactly you’re getting?

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

The topic ‘Error after update’ is closed to new replies.

 * ![](https://ps.w.org/date-time-picker-field/assets/icon.svg?rev=2964043)
 * [Availability Datepicker – Booking Calendar for Contact Form 7 – Input WP](https://wordpress.org/plugins/date-time-picker-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/date-time-picker-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/date-time-picker-field/)
 * [Active Topics](https://wordpress.org/support/plugin/date-time-picker-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/date-time-picker-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/date-time-picker-field/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Carlos Moreira](https://wordpress.org/support/users/carlosmoreirapt/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/error-after-update-148/#post-11925760)
 * Status: resolved