This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
| Author | Posts |
|---|---|
| November 7, 2023 at 12:01 pm #14746839 | |
|
yuryT-2 |
I am trying to: create an html sitemap via shortcode to the page Link to a page where the issue can be seen: hidden link I expected to see: Instead, I got:
Fatal error: Uncaught Exception: item should be a Collection or an array or an object
in /www/wwwroot/dentclub.com.ua/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 195
Call stack:
WPML\FP\Obj::WPML\FP\{closure}()
call_user_func_array()
wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php:154
WPML\FP\Obj::WPML\FP\{closure}()
call_user_func_array()
wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php:56
WPML\FP\Obj::__callStatic()
wp-content/plugins/wp-seo-multilingual/classes/RankMathSEO/Sitemap/Hooks.php:67
WPML\W\R\S\Hooks::replaceHomePageInSecondaryLanguages()
wp-content/plugins/wp-seo-multilingual/classes/RankMathSEO/Sitemap/Hooks.php:36
WPML\W\R\S\Hooks::filterEntry()
wp-includes/class-wp-hook.php:310
WP_Hook::apply_filters()
wp-includes/plugin.php:256
apply_filters_ref_array()
wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php:102
RankMath\S\H\Posts::do_filter()
wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-posts.php:162
RankMath\S\H\Posts::generate_posts_list_flat()
wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-posts.php:148
RankMath\S\H\Posts::generate_posts_list()
wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-posts.php:121
RankMath\S\H\Posts::generate_sitemap()
wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-sitemap.php:133
RankMath\S\H\Sitemap::get_output()
wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-sitemap.php:271
RankMath\S\H\Sitemap::shortcode()
wp-includes/shortcodes.php:433
do_shortcode_tag()
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-includes/class-wp-hook.php:310
WP_Hook::apply_filters()
wp-includes/plugin.php:205
apply_filters()
wp-includes/post-template.php:256
the_content()
wp-content/themes/dent-club-theme/templates/text-page.php:15
include()
wp-includes/template-loader.php:106
require_once()
wp-blog-header.php:19
require()
index.php:17
Query Monitor
|
| November 7, 2023 at 3:32 pm #14749185 | |
|
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
Thank you for contacting WPML support. I will assist you with your same ticket here: |