Skip Navigation

[Resolved] tags conditional code cause an error

This support ticket is created 7 years, 1 month 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Noman 7 years, 1 month ago.

Assisted by: Noman.

Author
Posts
#587080

I am trying to:

Link to a page where the issue can be seen:
see this screenshot cannot show live link since this is a production site :
hidden link

I am getting this error:
Warning: require_once(/home/rober167/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/classes/class.cred.php): failed to open stream: No such file or directory in /home/rober167/public_html/wp-content/plugins/wp-views/embedded/inc/wpv-conditional.php on line 768

Fatal error: require_once(): Failed opening required '/home/rober167/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/classes/class.cred.php' (include_path='.:/usr/local/php56/pear') in /home/rober167/public_html/wp-content/plugins/wp-views/embedded/inc/wpv-conditional.php on line 768

if I remove the code below from the content template the error vanish but I can't show anymore tags conditionally:

[wpv-conditional if="( '[wpv-post-taxonomy]' ne '' )"]Tags:[wpv-post-taxonomy type='tags-for-body-area'][/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy]' ne '' )"]Tags:[wpv-post-taxonomy type='tags-for-skin-conditions'][/wpv-conditional]
[wpv-conditional if="( '[wpv-post-taxonomy]' ne '' )"]Tags:[wpv-post-taxonomy type='tags-for-anti-ageing'][/wpv-conditional]

Please help, thank you

Best Regards
Roberto

#587107

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Roberto,

Thank you for contacting Toolset support. I have noticed that you are using older version of Toolset Views plugin. Please update ALL Toolset plugins to it latest official release. Or you can download it from your account:
https://toolset.com/account/downloads/

We have another client who had the similar issue and was also able to solve it:
https://toolset.com/forums/topic/site-partially-down-error-on-conditionals-after-wp-update/#post-584618

Thank you