Skip Navigation

[Closed] as soon as i log in to my site, some of the content disappears

This support ticket is created 4 years, 8 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 15 replies, has 3 voices.

Last updated by Minesh 4 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1872397

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?

Is there a similar example that we can see?

What is the link to your site?hidden link

#1872851

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

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.

#1884431

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

#1884659

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

We released hotfix release for Toolset plugins.

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?

#1885107

Yes, I am running wp5.6, Toolset Types plugin is 3.4.5, Toolset blocks plugin is 1.3.5.

I can give you access to the back end if that helps. Liz

#1885113

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes, please.

*** 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.

#1885737

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I try to access the URL: hidden link

It asks me for authorization access details, could you please send me authorization access details so that I can access the site.

#1885995

I can send the login through a private message, if you can supply one. liz

#1885997

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

it looks like we are in totally opposite time zone, i'm about to close my shift. BTW, Merry Christmas in advance 🙂

I have set the next reply to private which means only you and I have access to it.

#1886023

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing access details.

When I try to access the URL you shared with your initial post: hidden link
It redirect me on the following: hidden link

And with this link (hidden link), I can see there is JS error on browser's console coming from the plugin: triangle-magazine
=> hidden link

Uncaught ReferenceError: jQuery is not defined

Can you please tell with what page/post you are not able to see the content?

#1886025

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

#1886027

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share specific link of the post/page where I can see the errors which you shared with your previous reply.

I just tired to edit the single post of Issue post type and I do not see any errors on my browser's console.

#1886029
ss. 2020-12-24 at 9.08.33 .png

It is the hosting site, which shows me the php errors.

#1886041

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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?

If no:
- I will require your site copy and I will try to host on my test site to see whats going wrong with your setup.
=> https://toolset.com/faq/provide-supporters-copy-site/

#1886057

Ok but those errors are thrown when? visiting what page/post? -- thrown whenever I edit, for example this page: hidden link or this page: hidden link

I disabled all of the plugins except the pantheon advanced page cache, the toolset blocks and types, and the triangle magazine custom plugin.

Errors are still being thrown

The topic ‘[Closed] as soon as i log in to my site, some of the content disappears’ is closed to new replies.