Mybb Warning [2] mktime() expects parameter 4 to be long, string given – Line: 1474 – File: member.php PHP 5.2.14 (Linux)

If you come across the following error after inportming phpbb 3 to mybb its usually caused by the birthday date field data being incompatible from you phpbb migration.

Warning [2] mktime() expects parameter 4 to be long, string given – Line: 1474 – File: member.php PHP 5.2.14 (Linux)

Open PHP MyAdmin – (MySql Admin Tool)

Select you database and run the following command

UPDATE `mybb_users` SET `birthday` = '' WHERE `birthday` LIKE '-%';

mybb logo

Leave a Reply