Hi.
I have a strange error on my website – still in development.
Using constructor I created Elementor Single Post design. When I apply a rule to use this design for a certain category of posts, it is showing the post with correct design, but if I need to edit a certain post from that category using Elementor, I get the error below and I’m not able to edit it. If I delete the rule from Single post design, and I try again, I’m able to edit it.
Please help me to solve this issue.
Thank you!
Error:
[16-Jan-2026 12:50:02 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_name() on null in /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/single-base.php:162
Stack trace:
#0 [internal function]: ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->ElementorPro\Modules\ThemeBuilder\Documents\{closure}(Array, Array)
#1 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(265): call_user_func(Object(Closure), Array, Array)
#2 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#3 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(262): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#4 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#5 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(262): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#6 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/db.php(269): Elementor\DB->iterate_data(Array, Object(Closure), Array)
#7 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/single-base.php(161): Elementor\DB->iterate_data(Array, Object(Closure))
#8 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/includes/frontend.php(1131): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->get_elements_data()
#9 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/core/base/document.php(1251): Elementor\Frontend->get_builder_content(6875, false)
#10 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/modules/library/documents/library-document.php(82): Elementor\Core\Base\Document->get_content(false)
#11 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/theme-document.php(167): Elementor\Modules\Library\Documents\Library_Document->get_content(false)
#12 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/theme-document.php(182): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#13 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/single-base.php(100): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#14 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/classes/locations-manager.php(438): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#15 /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/classes/locations-manager.php(314): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location('single')
#16 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->ElementorPro\Modules\ThemeBuilder\Classes\{closure}()
#17 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/modules/page-templates/module.php(205): call_user_func(Object(Closure))
#18 /home/xpsoft/public_html/agricola/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
#19 /home/xpsoft/public_html/agricola/wp-includes/template-loader.php(125): include('/home/xpsoft/pu...')
#20 /home/xpsoft/public_html/agricola/wp-blog-header.php(19): require_once('/home/xpsoft/pu...')
#21 /home/xpsoft/public_html/agricola/index.php(17): require('/home/xpsoft/pu...')
#22 {main}
thrown in /home/xpsoft/public_html/agricola/wp-content/plugins/pro-elements/modules/theme-builder/documents/single-base.php on line 162