• Resolved bazibbo

    (@bazibbo)


    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)
  • Hi @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

    (@bazibbo)

    That works great ??

    Thanks Carlos

    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 5 years, 5 months ago by ashikalgar.
    • This reply was modified 5 years, 5 months ago by ashikalgar.

    Hi @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.