Error duplicating page

Posted in: Newspaper
Post count: 2

Hi,

I’m working on a wp website using the following versions:

Wordpress -> 5.9.3
Newspaper -> 11.4.3
WPML Multilingual CMS -> 4.5.4

When I try to duplicate a page (Homepage) generated by one of your prebuilt websites (Newsweek PRO), I’m getting the following error:


PHP Fatal error: Uncaught InvalidArgumentException: element_id and type do not match for element_id:865 the database contains post_page while this function was called with post_tdb_templates in /wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php:34
Stack trace:
#0 /wordpress/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1514): WPML_Set_Language->set()
#1 /wordpress/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(1482): SitePress->set_element_language_details()
#2 /wordpress/wp-includes/class-wp-hook.php(307): SitePress->set_element_language_details_action()
#3 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#4 /wordpress/wp-includes/plugin.php(474): WP_Hook->do_action()
#5 /wordpress/wp-content/plugins/td-cloud-library/includes/tdb_ajax.php(309): do_action()
#6 /wordpress/wp-includes/rest-api/class-wp-rest-server.php(1141): {closure}()
#7 /wordpress/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
#8 /wordpress/wp-includes/rest-api/class-wp-rest-server.php(414): WP_REST_Server->dispatch()
#9 /wordpress/wp-includes/rest-api.php(386): WP_REST_Server->serve_request()
#10 /wordpress/wp-includes/class-wp-hook.php(307): rest_api_loaded()
#11 /wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#12 /wordpress/wp-includes/plugin.php(522): WP_Hook->do_action()
#13 /wordpress/wp-includes/class-wp.php(396): do_action_ref_array()
#14 /wordpress/wp-includes/class-wp.php(758): WP->parse_request()
#15 /wordpress/wp-includes/functions.php(1310): WP->main()
#16 /wordpress/wp-blog-header.php(16): wp()
#17 /wordpress/index.php(17): require('...')
#18 {main}
thrown in /wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-set-language.php on line 34

As you said in Newspaper’s plugin page, the WPML plugin is fully supported, so maybe this error is something you might fix.

Thanks

Post count: 21065

Hello!

Please change the PHP version that you use with a recommended version: https://forum.tagdiv.com/requirements-for-newspaper/

Let me know the results!

Thank you!

Post count: 2

Hi,

The link you posted says PHP version 7.3 or greater, we have 8.0.18, so this shouldn’t be the issue.

Thanks

Post count: 21065

Hello!

Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cpanel url and credentials
– a link to this topic in order to identify you
Our team will take a look and try to help you as soon as possible!

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.