I am trying to: view the Template for Airports in the dashboard
Link to a page where the issue can be seen: hidden link
I expected to see: the template
Instead, I got: a WP critical error message which sent me these details
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.8.3
Current theme: Multiplex by MyThemeShop (version 1.0.2)
Current plugin: Toolset Blocks (version 1.6.1)
PHP version 8.0.0
Error Details
=============
An error of type E_ERROR was caused in line 59 of the file /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php. Error message: Uncaught Error: Attempt to assign property "dynamic_sources_content_processed" on null in /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Sources/PostContent.php:59
Stack trace:
#0 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(514): Toolset\DynamicSources\Sources\PostContent->get_content(NULL, NULL)
#1 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/class-wp-hook.php(303): Toolset\DynamicSources\DynamicSources->get_source_content('', '__current_post', 125268, Object(Toolset\DynamicSources\Sources\PostContent))
#2 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/plugin.php(189): WP_Hook->apply_filters('', Array)
#3 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Cache.php(92): apply_filters('toolset/dynamic...', '', '__current_post', '125268', 'post-content')
#4 [internal function]: Toolset\DynamicSources\Cache->get_data_for_sources(Array, '__current_post', '125268')
#5 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/Cache.php(49): call_user_func_array(Array, Array)
#6 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/class-wp-hook.php(303): Toolset\DynamicSources\Cache->add_cached_data(Array, '125268')
#7 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#8 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(967): apply_filters('toolset/dynamic...', Array, 28)
#9 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/class-wp-hook.php(303): Toolset\DynamicSources\DynamicSources->get_dynamic_sources_data(Array)
#10 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
#11 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-content/plugins/toolset-blocks/vendor/toolset/dynamic-sources/server/DynamicSources.php(942): apply_filters('toolset/dynamic...', Array)
#12 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/class-wp-hook.php(303): Toolset\DynamicSources\DynamicSources->register_localization_data('')
#13 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#14 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#15 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-admin/edit-form-blocks.php(252): do_action('enqueue_block_e...')
#16 /mnt/stor11-wc2-dfw1/524266/www.loveairports.net/web/content/wp-admin/post.php(187): require('/mnt/stor11-wc2...')
#17 {main}
thrown
Hello. Thank you for contacting the Toolset support.
Currently Toolset is not fully compatible with PHP version 8.x.x. This is known to us and our Devs are already working on it and they will do their best to make it compatible with PHP 8.
We already added note about that on our requirements Doc:
=> https://toolset.com/toolset-requirements/
Important notes:
-- PHP 8 is currently not supported due to some issues. We’re working on fixing this. In the meantime, please use PHP 7 version.
-- While Toolset works with PHP 5.6+ and MySQL 5.6+, they reached the official End Of Life, and are not recommended for security and performance reasons.
I suggest you can downgrade the PHP version and try to resolve your issue.
As I shared and as we already shared with our requirement Doc: https://toolset.com/toolset-requirements/
- I'm sharing that information with you as of now PHP 8 is not fully compatible with Toolset, sooner or later that will be possibility that you may find things not working as expected.
The only way to know that issue is due to PHP 8, is to downgrade the PHP version to PHP 7.x.x and later when we announce the full PHP 8 compatibility you can switch to PHP 8. If the issue does not fix by downgrading the PHP version then I will have to look further to check whats going wrong with your setup.