join Argument 2 must be of type array, string given lorem.php file [ Working Solution ]

    By: Manu
    2 years ago

    If you face this issue solution is quite simple navigate to "lorem.php" and change the code as given below

    // Old code
    
    return join($words, ' ') . '.';
    

    Change it to

    return join( ' ', $words) . '.';
    

    Run migration command again your faker library will start to work. Hope this helps