Hi @artjuice,
I see your website isn’t currently available due to an error(https://vertis.d.pr/i/y2h30h); maybe this is the same reason causing MPG not to work properly.
Can you please install and activated this plugin and share the error code?
Hi Stefan,
The website is available : https://artjuice.net/
But MPG pages are not. Plugin is properling installed and activated, error is 500.
Hi @artjuice,
I understand the error is 500, this one is because those page can’t be accessed, it’s a common code for an HTTP error.
However, the error share on this page has to be related to a PHP code snippet. Would it be possible to install and activate this plugin, and then visit that page and share the error code?
Regards,
Stefan
I have a detailed error :
Fatal error: Uncaught Error: Object of class DateTime could not be converted to string in /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php:318 Stack trace: #0 /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php(318): str_replace(Array, Array, Object(DateTime)) #1 [internal function]: MPG_CoreModel::{closure}(Object(DateTime)) #2 /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php(320): array_map(Object(Closure), Array) #3 /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/controllers/CoreController.php(28): MPG_CoreModel::mpg_shortcode_replacer(‘[vc_row][vc_col…’, ‘5’) #4 /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/controllers/CoreController.php(180): MPG_CoreController::core(Array, Object(WP_Post), ‘23113’, ‘/festival/festi…’) #5 /home/teinture/www/wp-includes/class-wp-hook.php(308): MPG_CoreController::mpg_view_multipages_standard(”) in /home/teinture/www/wp-content/plugins/multiple-pages-generator-by-porthas/models/CoreModel.php on line 318
Hi @artjuice,
Thanks for providing the error!
Could you please back up your site and make a fresh install of MPG? This should help to solve the problem on your end, since it’s not a general issue with MPG.
Thank you!