Tell us what you are trying to do? Imported modules for use on development site
I am doing development on a site that is not open, except by direct IP address. I imported several modules from the Real Estate demo site. When I attempt to work on one, I get the error message. "Something went wrong while fetching the dynamic content from the selected source"
The FTP error is "[11-Feb-2021 16:43:28 UTC] PHP Warning: Creating default object from empty value in /home2/berrylandcodev/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php on line 59"
Is this because the underlying data, in this case "Agents" are not part of the site?
Thanks
Hi,
Thank you for contacting us and I'd be happy to assist.
Your understanding is correct and this generic warning is generated anytime a block in template/view requests dynamic data from a source that is either not present or has no value.
As you're working with imported modules, you can scan through the views and content templates for all the blocks which are set to fetch data through dynamic sources. You can update the sources and remove the blocks which are not needed, with respect to your website's context and requirement.
It is also very important that the correct post type is selected in the "View with" preview post selector field at the top while editing a content template.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!