Tell us what you are trying to do? I am trying to update my multisite from . First I manually updated the toolset types and blocks to 1.3.4 and 3.4.4. As soon as I did that, the content disappeared.
Is there any documentation that you are following?
Can you give more details about what kind of content you are referring to?
We'll probably need to take a look at your site to understand what is happening, can you please provide credentials?
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site.
Can you confirm where we should be looking to see the problem.
PHP Error Log
44Uncaught InvalidArgumentException: All provided arguments for a related element must be either an ID or a WP_Post object. in /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php:246
Stack trace:
#0 /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php(177): OTGS\Toolset\Common\Interop\Commands\RelatedPosts->set_query_by_elements(Array, NULL)
#1 /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/public_api/m2m.php(110): OTGS\Toolset\Common\Interop\Commands\RelatedPosts->__construct(Array, 'issue-feature', Array)
#2 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(1373): toolset_get_related_posts(Array, 'issue-feature', Array)
#3 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(838): tri_get_issue_children('')
#4 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(781): tri_get_prev_next('',
wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php:2463 minutes ago
Current version of Toolset Types plugin is 3.4.5
Current version of Toolset blocks plugin is 1.3.5
We always recommend running your site with the latest stable release plugin version. Could you please update ALL Toolset plugins to it's latest officially released version.
*** Please make a FULL BACKUP of your database and website.***
You can download the latest plugin release from your accounts page:
=> https://toolset.com/account/downloads/
Once you update all Toolset plugins to latest official released version, do you still see the issue?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Hi, I can see and edit the content, but I am getting a lot of PHP errors as soon as I start editing the site:
PHP Error Log
3Uncaught InvalidArgumentException: All provided arguments for a related element must be either an ID or a WP_Post object. in /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php:246
Stack trace:
#0 /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php(177): OTGS\Toolset\Common\Interop\Commands\RelatedPosts->set_query_by_elements(Array, NULL)
#1 /code/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/public_api/m2m.php(110): OTGS\Toolset\Common\Interop\Commands\RelatedPosts->__construct(Array, 'issue-feature', Array)
#2 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(1373): toolset_get_related_posts(Array, 'issue-feature', Array)
#3 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(838): tri_get_issue_children('')
#4 /code/wp-content/plugins/triangle-magazine/triangle-magazine.php(781): tri_get_prev_next('',wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/interop/commands/RelatedPosts.php:246a minute ago
The call stack is empty for this error
Ok but those errors are thrown when? visiting what page/post?
Just to ensure there is no conflict between the theme or third-party plugins you are using. Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any difference?
- Have you added any custom code to theme's file that belongs to Toolset?