Skip Navigation

[Resolved] There has been a critical error on this website

This support ticket is created 3 years, 7 months ago. 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by alexV-11 3 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2205187
2021-10-25_19-32-12.jpg
2021-10-25_19-30-40.jpg
Homepage.jpg

Hello, I have installed WP (fresh install) and added all Toolset (incl. WPML)
I used the reference site C&B properties.
When I load the home page, I don't see the content.
When I deactivate plugin Toolset Maps the blocks are loaded but without Media and only the reference fields, but not te "real" text.

I have changed wp-config.php with define( 'WP_MEMORY_LIMIT', '512M' );

I would like to build a database for movie / TV production locations and thought the Reference page could be a good starting point.

Alex

#2205375

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alex,

Thank you for getting in touch.
In order to know the exact cause of the issue I will need for you to enable the wordpress debugging by following the instructions below.
https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging

Once you're able to see what the exact php error is please let me know.
Thanks,
Shane

#2205833

Hello Shane,

Thanks for your reply.
I used Query Monitor to debug.
After enabling the MAP Toolset and re-loading the page, I get the following:

---Start ---
Fatal error: Uncaught Error: array_merge() does not accept unknown named parameters
in /mnt/web113/c2/45/511602145/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php on line 358

Call stack:

array_merge()
wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:358
WPV_Cache::generate_post_data_cache()
wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:580
WPV_Cache::generate_native_cache()
wp-content/plugins/toolset-blocks/embedded/inc/wpv-filter-query.php:220
WPV_View_Post_Query::wpv_filter_extend_query_for_parametric_and_counters()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/plugin.php:189
apply_filters()
wp-content/plugins/toolset-blocks/embedded/inc/wpv-filter-query.php:848
wpv_filter_get_posts()
wp-content/plugins/toolset-blocks/embedded/inc/wpv-api.php:112
get_view_query_results()
wp-content/plugins/toolset-maps/application/controllers/compatibility/gutenberg/editor-blocks/blocks/map/MapBlock.php:528
OTGS\T\M\C\C\G\E\B\M\MapBlock::render()
wp-includes/class-wp-block.php:221
WP_Block::render()
wp-includes/blocks.php:868
render_block()
wp-includes/blocks.php:906
do_blocks()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/plugin.php:189
apply_filters()
wp-includes/post-template.php:253
the_content()
wp-content/themes/astra/template-parts/content-page.php:54
require()
wp-includes/template.php:772
load_template()
wp-includes/template.php:716
locate_template()
wp-includes/general-template.php:204
get_template_part()
wp-content/themes/astra/inc/class-astra-loop.php:109
Astra_Loop::template_parts_page()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/themes/astra/inc/class-astra-loop.php:197
Astra_Loop::loop_markup()
wp-content/themes/astra/inc/class-astra-loop.php:174
Astra_Loop::loop_markup_page()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/themes/astra/inc/core/theme-hooks.php:267
astra_content_page_loop()
wp-content/themes/astra/page.php:32
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17

--- end ---

And when I go to: hidden link (with Maps Toolset disabled) I get the following:
--- Start ---
Fatal error: Uncaught Error: array_merge() does not accept unknown named parameters
in /mnt/web113/c2/45/511602145/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php on line 358

Call stack:

array_merge()
wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:358
WPV_Cache::generate_post_data_cache()
wp-content/plugins/toolset-blocks/embedded/inc/classes/wpv-cache.class.php:580
WPV_Cache::generate_native_cache()
wp-content/plugins/toolset-blocks/embedded/inc/wpv-archive-loop.php:866
WPV_WordPress_Archive_Frontend::extend_archive_query_for_parametric_and_counters()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-content/plugins/toolset-blocks/embedded/inc/wpv-archive-loop.php:1058
WPV_WordPress_Archive_Frontend::initialize_archive_loop()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-includes/template-loader.php:13
require_once()
wp-blog-header.php:19
require()
index.php:17
--- end ---

Thanks, Alex

#2205835
#2206041
Screenshot 2021-10-26 at 15.21.47.png
Screenshot 2021-10-26 at 15.21.11.png
Screenshot 2021-10-26 at 15.20.33.png

Hello Shane,

I forgot to mention, There is NO critical info on the website (yet) So I can (Re)-install as much as I want.
But I would like to show you that " installing". the Reference site (C&B) fails (see screenshot)
I also bought WPML and when the plugin "WPML Translation Management" is not active this is reported during the install of C&B reference site. But actually this plugin is (according to WPML) not needed anymore (see screenshots)

Alex

#2206165

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alex,

Thank you for the information.

Are you currently using PHP version 8 on your server? If so then I would recommend using PHP version 7 as we have yet to announce compatibility for php 8.

If you're not using php version 8 please let me know.
Thanks,
Shane

#2206641

My issue is resolved now. Thank you!