• Resolved chng700

    (@chng700)


    My initial batch of 90 pages generated are working great, then I added more rows to my google sheet to generate more pages. Unfortunately the second batch of pages generated (same template, same data source, just different row) while have no problem generating the URLs, when I clicked inside, there are errors on top:

    Warning: array_map(): Expected parameter 2 to be an array, null given in /home/customer/www/domains.co/public_html/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php on line 273

    Warning: array_map(): Expected parameter 2 to be an array, null given in /home/customer/www/domain.co/public_html/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php on line 273

    Strangely, the 1st batch of pages are still working well despite they are all from the same URL preview list, same data source, same template.

Viewing 1 replies (of 1 total)
  • Hi @chng700,

    Thanks for choosing MPG!

    Those are warnings, not errors, so no functionality of the plugin should be affected, MPG should still work properly. Since these warnings appear on the front end, you may have the debug mode enabled in your WordPress, which is a bad practice. Please try to disable the debug mode by adding the following code in the wp-config.php file of your WordPress installation.

    define( ‘WP_DEBUG’, false );

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Error when adding new data to create new pages’ is closed to new replies.