Title: Cannot Generate Dummy Posts
Last modified: August 27, 2021

---

# Cannot Generate Dummy Posts

 *  Resolved [Sunil Nanda](https://wordpress.org/support/users/nandasunil/)
 * (@nandasunil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/cannot-generate-dummy-posts/)
 * **Getting following error while creating new posts:**
 *     ```
       [27-Aug-2021 01:47:21 UTC] PHP Fatal error:  Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Provider\Lorem.php:95
       Stack trace:
       #0 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Provider\Lorem.php(95): implode(Array, ' ')
       #1 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Provider\Lorem.php(179): Faker\Provider\Lorem::sentence()
       #2 [internal function]: Faker\Provider\Lorem::text(40)
       #3 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Generator.php(222): call_user_func_array(Array, Array)
       #4 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Generator.php(279): Faker\Generator->format('text', Array)
       #5 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\includes\functions-posts.php(42): Faker\Generator->__call('text', Array)
       #6 W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\includes\functions-posts.php(116): wp_dummy_content_generatorGeneratePosts('post', 'on', '2021-01-01', '2021-08-27')
       #7 W:\headlesswp.local\wp-includes\class-wp-hook.php(303): wp_dummy_content_generatorAjaxGenPosts('')
       #8 W:\headlesswp.local\wp-includes\class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #9 W:\headlesswp.local\wp-includes\plugin.php(470): WP_Hook->do_action(Array)
       #10 W:\headlesswp.local\wp-admin\admin-ajax.php(187): do_action('wp_ajax_wp_dumm...')
       #11 {main}
         thrown in W:\headlesswp.local\wp-content\plugins\wp-dummy-content-generator\vendor\fzaninotto\faker\src\Faker\Provider\Lorem.php on line 95
       ```
   
 * **Environment:**
 * PHP Version: 8.0.9
    Wordpress version: Version 5.8 Plugin Version: Version 1.1.2`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Deepak anand](https://wordpress.org/support/users/deepakanand767/)
 * (@deepakanand767)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/cannot-generate-dummy-posts/#post-14944533)
 * Hi [@nandasunil](https://wordpress.org/support/users/nandasunil/)
    Greetings!!!
 * Thanks for reporting the issue. I have fixed the issue in this version of the
   plugin (2.0.0)
 * Kindly check and let me know if you still face any issues.
 * Thanks!!!!

Viewing 1 replies (of 1 total)

The topic ‘Cannot Generate Dummy Posts’ is closed to new replies.

 * ![](https://ps.w.org/wp-dummy-content-generator/assets/icon.svg?rev=3022566)
 * [WP Dummy Content Generator](https://wordpress.org/plugins/wp-dummy-content-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dummy-content-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dummy-content-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dummy-content-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dummy-content-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dummy-content-generator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Deepak anand](https://wordpress.org/support/users/deepakanand767/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/cannot-generate-dummy-posts/#post-14944533)
 * Status: resolved