Skip Navigation

[Resuelto] Blank page – Uncaught Error: Call to a member function set_post_id() on null

This support ticket is created hace 5 años, 2 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por nelsonM-2 hace 5 años, 2 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1290325

I've changed an already existing sites' domain, and now it's returning a blank page on the frontend, with the following PHP error msg (in debug mode):

Fatal error: Uncaught Error: Call to a member function set_post_id() on null in /home/alchemy/public_html/wp-content/plugins/layouts/classes/wpddl.class.php:1222 Stack trace: #0 /home/alchemy/public_html/wp-content/plugins/layouts/classes-auto/wpddl.layouts.render.manager.class.php(595): WPDD_Layouts::get_layout_from_id(15) #1 /home/alchemy/public_html/wp-content/plugins/layouts/classes-auto/wpddl.layouts.render.manager.class.php(547): WPDD_Layouts_RenderManager->get_rendered_layout(15) #2 /home/alchemy/public_html/wp-content/plugins/layouts/classes/wpddl.class.php(1450): WPDD_Layouts_RenderManager->get_layout_content_for_render('', Array) #3 /home/alchemy/public_html/wp-content/plugins/layouts/inc/api/ddl-theme-api.php(47): WPDD_Layouts->get_layout_content_for_render('', Array) #4 /home/alchemy/public_html/wp-content/plugins/layouts/inc/api/ddl-theme-api.php(13): get_the_ddlayout('', Array) #5 /home/alchemy/public_html/wp-content/themes/toolset-starter/page.php(4): the_ddlayout() #6 /home/alchemy/public_html/wp-includes/ in /home/alchemy/public_html/wp-content/plugins/layouts/classes/wpddl.class.php on line 1222

What could it be?

#1290335

Hello,

There might be some broken data while you change the existing sites' domain.

Please try these:
1) If you are using some cache plugins, try to clear your website cache and test again.

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again

2) Follow our document to migrate your website to new domain name:
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/

#1295647

Hi Luo,
I've tried what you suggested, but since the error persisted, I've ended up restoring a previous database backup and it solved the issue.

thanks!

Este ticket ya está cerrado. Si eres cliente de Toolset y necesitas ayuda relacionada, abre un nuevo ticket de soporte.