Hi,
I have had these php fatal errors ever since i started working with the theme. But i did not have the time to fix it
The way it manifests itself is by not loading widgets that have the Xstore Ajaxify option turned on. And when you visit a page that has such widgets it throws errors in the log.
It just shows the snipping loading circle and never loads the widgets.
Check this screenshot from a 404 page (i visited a 404 page because it shows the widgets more easily: https://prnt.sc/hGyH3AL__Owv
Notice the spinning circles. I have deactivated ajaxify for one of the widget to show that it loads in this way
Example of php error:
2023-04-02T08:22:19+00:00 CRITICAL Uncaught Error: Call to a member function render_element() on bool in /home/user_8472/app_8472/wp-content/themes/xstore/framework/features/lazyload-functions.php:288
Stack trace:
#0 /home/user_8472/app_8472/wp-includes/class-wp-hook.php(308): etheme_ajaxify()
#1 /home/user_8472/app_8472/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /home/user_8472/app_8472/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /home/user_8472/app_8472/wp-admin/admin-ajax.php(188): do_action()
#4 {main}
thrown in /home/user_8472/app_8472/wp-content/themes/xstore/framework/features/lazyload-functions.php on line 288
Things I have tried in order to fix the problem:
1. Deactivated ALL plugins and left enabled only Xstore Core, Woocommerce and Elementor. The same problem occurs
2. I completely reinstalled the website from scratch. The problem was still present after i installed xstore and imported the demo i wanted
3. I tested the issue on PHP 7.4 as well as php 8.0 and it doesn’t make any difference
Can you please take a look? I have added login details and ftp details in the private content area
As much as possible i would ask if possible to not disable all plugins to test again this aspect because i am actively working on the site. I already tested with all of them disabled. If you do need however please reactivate only the plugins that were enabled before, not all of them.
Thank you in advance for your help.