Skip Navigation

[Resolved] PHP Fatal error: Uncaught Error: types/application/controllers/m2m. php:52

This support ticket is created 6 years, 5 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 58 replies, has 3 voices.

Last updated by mohammadD 6 years, 4 months ago.

Assisted by: Luo Yang.

Author
Posts
#916685

Hi guys, it seems im spending more time to fix the conflict then using the toolset now.

Found another glitch/conflict with toolset.

Plugin: YITH Amazon S3 Storage for WooCommerce Premium

The way to produce the bug : at any layout page > click the "change how the layout is used" . The modal window wont show.
I need to remove the setting inside the YITH plugin to solve the issue.
Summary : conflict with s3 plugin/server ?

Pls feel free to test in my stage site. thanks.

#917263

Thanks for the update, here is the feedback from our 2nd tier supporters:
It is reported to the compatibility project and our developers are working on it.

#917275

Thanks for the update.

#917279

Can I mark this ticket as "Escalated to 2nd Tier" status?
As I mentioned above, I can update this thread when there is anything news.

#917281

Yes, its already updated .

#917298

If you keep on updating this thread, it will be changed to "Assigned" status.

I have to update it to the "Escalated to 2nd Tier" status again .

#917299

Thats something i learn today. anyway
I think there is some flaws here.
it should be updated as both assigned and 2nd tier.

#917302

This is the our workflow, the Escalated ticket is still assigned to 1st tier supporters, hope it is clear.

#917311

Sorry can you confirm if this is related to Toolset Form ? can i just disable it for now to make the error disappear.
i don't use FORM .

#917314

Sorry, the answer should be for another ticket. removed

#917805

Sorry Luo. i need to reply here.

could you check with developers if there is any temp hotfix or errata for this issue ?

#917822

Thanks for the patience, there isn't any update from our developers yet, I understand it is producing the problems in your website, and I have checked the problem codes, there is a temporary workaround, you can try this:
1) Edit the file of Types plugin \types\application\controllers\m2m.php, line 52, replace it from:

if( ! $intermediary_post_type->is_intermediary() ) {

To:

if( !isset($intermediary_post_type) || ! $intermediary_post_type->is_intermediary() ) {

It only adds another condition for check if the var $intermediary_post_type is valid.

Please test it and feedback if it is fixed in your website.

#917824

It does seems to solve the issiue. will update if anything else .
Pls mark as escalated to 2nd tier if needed to.

thanks

#917825

OK, as your request, post status is updated.

#923821

Hi Luo ,

the fix you gave doesnt fix the issue.

Btw why this case was not added into the known-issue page ?

https://toolset.com/known-issues/