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)
Viewing 1 replies (of 1 total)
- The topic ‘Cannot Generate Dummy Posts’ is closed to new replies.