Skip Navigation

[Resolved] Issues with Custom Fields display as null

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 0 reply, has 1 voice.

Last updated by willaL 5 months ago.

Assisted by: Minesh.

Author
Posts
#2797922

The non-type custom field currently does not display anything when there is no data. Is there a way to make it display 0 instead of null?

Additionally, regarding the shortcode cred_delete_post_link, it does not automatically redirect back to the current page after deleting the post:
[cred_delete_post_link action="trash" redirect='99999' class="del" message="Are you sure you want to delete it?"]Delete[/cred_delete_post_link]

#2797923

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reproted with this ticket.

Lets go step by step and I will take care of the first question:

The non-type custom field currently does not display anything when there is no data. Is there a way to make it display 0 instead of null?

Do you mean on frontend when you dispaly non Types fields - you want to display zero instead on nothing.

May I know how exactly you are displaying the non-Types fields on frontend using what shortcode?

In addition to that - Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

#2797925

I am using Heading Block to display non-Types fields. I tried the Field and Text Block as well, but still the same.
"Do you mean on frontend when you display non Types fields - you want to display zero instead of nothing "
Yes. That's right.

Debug Information:
{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/localhost\/oval","HomeURL":"http:\/\/localhost\/oval","Version":"6.7.2","PermalinkStructure":"\/%year%\/%monthnum%\/%day%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, wp_template_part, wp_global_styles, wp_navigation, wp_font_family, wp_font_face, cred-form, cred-user-form, wp-types-group, wp-types-user-group, wp-types-term-group, product, product_variation, shop_order, shop_order_refund, shop_order_placehold, custom-css-js, dc_commission, mvx_transaction, view, view-template, patterns_ai_data, creator, artwork, wpa-helper, cred_rel_form","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed, wc-checkout-draft, mvx_processing, mvx_completed, mvx_canceled, dp-rewrite-republish, hidden"},"Server":{"jQueryVersion":"3.7.1","PHPVersion":"8.2.12","MySQLVersion":"10.4.32","ServerSoftware":"Apache\/2.4.58 (Win64) OpenSSL\/3.1.3 PHP\/8.2.12"},"PHP":{"MemoryLimit":"512M","UploadMax":"40M","PostMax":"40M","TimeLimit":"120","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"all-in-one-wp-migration\/all-in-one-wp-migration.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"All-in-One WP Migration","PluginURI":"https:\/\/servmask.com\/","Version":"6.77","Author":"ServMask","AuthorURI":"https:\/\/servmask.com\/","TextDomain":"all-in-one-wp-migration","DomainPath":"\/languages","Network":true,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"All-in-One WP Migration","AuthorName":"ServMask"},"cred-commerce\/plugin.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Toolset Forms Commerce","PluginURI":"https:\/\/toolset.com\/course-lesson\/charge-users-for-submitting-content\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=formscommerce","Version":"1.8.5","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-commerce","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset Forms Commerce","AuthorName":"OnTheGoSystems"},"cred-frontend-editor\/plugin.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Toolset Forms","PluginURI":"https:\/\/toolset.com\/home\/toolset-components\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=forms#forms","Version":"2.6.22","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"cred-frontend-editor","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset Forms","AuthorName":"OnTheGoSystems"},"custom-css-js\/custom-css-js.php":{"WC requires at least":"3.0.0","WC tested up to":"9.7","Woo":"","Requires Yoast SEO":"","Name":"Simple Custom CSS and JS","PluginURI":"https:\/\/wordpress.org\/plugins\/custom-css-js\/","Version":"3.49","Author":"SilkyPress.com","AuthorURI":"https:\/\/www.silkypress.com","TextDomain":"custom-css-js","DomainPath":"\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Simple Custom CSS and JS","AuthorName":"SilkyPress.com"},"dc-woocommerce-multi-vendor\/dc_product_vendor.php":{"WC requires at least":"8.2.2","WC tested up to":"9.3.3","Woo":"","Requires Yoast SEO":"","Name":"MultiVendorX","PluginURI":"https:\/\/multivendorx.com\/","Version":"4.2.6","Author":"MultiVendorX","AuthorURI":"https:\/\/multivendorx.com\/","TextDomain":"multivendorx","DomainPath":"\/languages\/","Network":false,"RequiresWP":"5.4","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"woocommerce","Title":"MultiVendorX","AuthorName":"MultiVendorX"},"duplicate-post\/duplicate-post.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Yoast Duplicate Post","PluginURI":"https:\/\/yoast.com\/wordpress\/plugins\/duplicate-post\/","Version":"4.5","Author":"Enrico Battocchi \u0026 Team Yoast","AuthorURI":"https:\/\/yoast.com","TextDomain":"duplicate-post","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Yoast Duplicate Post","AuthorName":"Enrico Battocchi \u0026 Team Yoast"},"fifu-premium\/fifu-premium.php":{"WC requires at least":"4.0","WC tested up to":"9.4.3","Woo":"","Requires Yoast SEO":"","Name":"Featured Image from URL (FIFU) Premium","PluginURI":"https:\/\/fifu.app\/","Version":"6.8.2","Author":"fifu.app","AuthorURI":"https:\/\/fifu.app\/","TextDomain":"fifu-premium","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Featured Image from URL (FIFU) Premium","AuthorName":"fifu.app"},"ilab-media-tools-premium\/ilab-media-tools.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Media Cloud (Premium)","PluginURI":"https:\/\/github.com\/interfacelab\/ilab-media-tools","Version":"4.6.4","Author":"interfacelab","AuthorURI":"http:\/\/interfacelab.io","TextDomain":"ilab-media-tools-premium","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"7.4","UpdateURI":"https:\/\/api.freemius.com","RequiresPlugins":"","Title":"Media Cloud (Premium)","AuthorName":"interfacelab"},"likebtn-like-button\/likebtn_like_button.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Like Button Rating ♥ LikeBtn","PluginURI":"https:\/\/likebtn.com\/en\/wordpress-like-button-plugin","Version":"2.6.55","Author":"LikeBtn","AuthorURI":"https:\/\/likebtn.com","TextDomain":"likebtn-like-button","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Like Button Rating ♥ LikeBtn","AuthorName":"LikeBtn"},"redirection\/redirection.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Redirection","PluginURI":"https:\/\/redirection.me\/","Version":"5.5.1","Author":"John Godley","AuthorURI":"","TextDomain":"redirection","DomainPath":"","Network":false,"RequiresWP":"6.4","RequiresPHP":"7.0","UpdateURI":"","RequiresPlugins":"","Title":"Redirection","AuthorName":"John Godley"},"relevanssi\/relevanssi.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Relevanssi","PluginURI":"https:\/\/www.relevanssi.com\/","Version":"4.24.3","Author":"Mikko Saari","AuthorURI":"http:\/\/www.mikkosaari.fi\/","TextDomain":"relevanssi","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Relevanssi","AuthorName":"Mikko Saari"},"svg-support\/svg-support.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"SVG Support","PluginURI":"http:\/\/wordpress.org\/plugins\/svg-support\/","Version":"2.5.8","Author":"Benbodhi","AuthorURI":"https:\/\/benbodhi.com","TextDomain":"svg-support","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"SVG Support","AuthorName":"Benbodhi"},"toolset-blocks\/wp-views.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Toolset Blocks","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"1.6.16","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"toolset-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset Blocks","AuthorName":"OnTheGoSystems"},"types-access\/types-access.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Toolset Access","PluginURI":"http:\/\/toolset.com\/home\/types-access\/?utm_source=accessplugin\u0026utm_campaign=access\u0026utm_medium=release-notes-plugins-list\u0026utm_term=Visit plugin site","Version":"2.9.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"types-access","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset Access","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.5.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"woocommerce-delivery-notes\/woocommerce-delivery-notes.php":{"WC requires at least":"5.0.0","WC tested up to":"9.4.3","Woo":"","Requires Yoast SEO":"","Name":"Print Invoice \u0026 Delivery Notes for WooCommerce","PluginURI":"https:\/\/www.tychesoftwares.com\/","Version":"5.4.0","Author":"Tyche Softwares","AuthorURI":"https:\/\/www.tychesoftwares.com\/","TextDomain":"woocommerce-delivery-notes","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"7.4","UpdateURI":"","RequiresPlugins":"woocommerce","Title":"Print Invoice \u0026 Delivery Notes for WooCommerce","AuthorName":"Tyche Softwares"},"woocommerce-payments\/woocommerce-payments.php":{"WC requires at least":"7.6","WC tested up to":"9.4.0","Woo":"","Requires Yoast SEO":"","Name":"WooPayments","PluginURI":"https:\/\/woocommerce.com\/payments\/","Version":"8.6.1","Author":"WooCommerce","AuthorURI":"https:\/\/woocommerce.com\/","TextDomain":"woocommerce-payments","DomainPath":"\/languages","Network":false,"RequiresWP":"6.0","RequiresPHP":"7.3","UpdateURI":"","RequiresPlugins":"woocommerce","Title":"WooPayments","AuthorName":"WooCommerce"},"woocommerce-views\/views-woocommerce.php":{"WC requires at least":"","WC tested up to":"9.0.2","Woo":"","Requires Yoast SEO":"","Name":"Toolset WooCommerce Blocks","PluginURI":"https:\/\/toolset.com\/course\/custom-woocommerce-site\/?utm_source=plugin\u0026utm_medium=gui\u0026utm_campaign=woocommerceblocks","Version":"3.1.6","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"woocommerce-views","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Toolset WooCommerce Blocks","AuthorName":"OnTheGoSystems"},"woocommerce\/woocommerce.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"WooCommerce","PluginURI":"https:\/\/woocommerce.com\/","Version":"9.4.3","Author":"Automattic","AuthorURI":"https:\/\/woocommerce.com","TextDomain":"woocommerce","DomainPath":"\/i18n\/languages\/","Network":false,"RequiresWP":"6.5","RequiresPHP":"7.4","UpdateURI":"","RequiresPlugins":"","Title":"WooCommerce","AuthorName":"Automattic"},"wordpress-seo\/wp-seo.php":{"WC requires at least":"7.1","WC tested up to":"9.3","Woo":"","Requires Yoast SEO":"","Name":"Yoast SEO","PluginURI":"https:\/\/yoa.st\/1uj","Version":"23.9","Author":"Team Yoast","AuthorURI":"https:\/\/yoa.st\/1uk","TextDomain":"wordpress-seo","DomainPath":"\/languages\/","Network":false,"RequiresWP":"6.5","RequiresPHP":"7.2.5","UpdateURI":"","RequiresPlugins":"","Title":"Yoast SEO","AuthorName":"Team Yoast"},"wp-optimize\/wp-optimize.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"WP-Optimize - Clean, Compress, Cache","PluginURI":"https:\/\/getwpo.com","Version":"3.8.0","Author":"TeamUpdraft, DavidAnderson","AuthorURI":"https:\/\/updraftplus.com","TextDomain":"wp-optimize","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"https:\/\/wordpress.org\/plugins\/wp-optimize\/","RequiresPlugins":"","Title":"WP-Optimize - Clean, Compress, Cache","AuthorName":"TeamUpdraft, DavidAnderson"},"wp-sweep\/wp-sweep.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"WP-Sweep","PluginURI":"https:\/\/lesterchan.net\/portfolio\/programming\/php\/","Version":"1.1.8","Author":"Lester \u0027GaMerZ\u0027 Chan","AuthorURI":"https:\/\/lesterchan.net","TextDomain":"wp-sweep","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"WP-Sweep","AuthorName":"Lester \u0027GaMerZ\u0027 Chan"},"yet-another-related-posts-plugin\/yarpp.php":{"WC requires at least":"","WC tested up to":"","Woo":"","Requires Yoast SEO":"","Name":"Yet Another Related Posts Plugin (YARPP)","PluginURI":"https:\/\/yarpp.com\/","Version":"5.30.11","Author":"YARPP","AuthorURI":"https:\/\/yarpp.com\/","TextDomain":"yet-another-related-posts-plugin","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","RequiresPlugins":"","Title":"Yet Another Related Posts Plugin (YARPP)","AuthorName":"YARPP"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Kadence","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/www.kadencewp.com\/\u0022\u003EKadence WP\u003C\/a\u003E","AuthorURI":null,"Template":"kadence","Version":"1.1.12","TextDomain":null,"DomainPath":null},"extra-debug":{"access":{"rules":[],"settings":{"types":{"post":{"mode":"not_managed"},"page":{"mode":"permissions","permissions":{"publish":{"roles":[]},"delete_any":{"roles":[]},"edit_any":{"roles":[]},"delete_own":{"roles":[]},"edit_own":{"roles":[]},"read":{"roles":[]}}},"attachment":{"mode":"not_managed"},"oembed_cache":{"mode":"not_managed"},"user_request":{"mode":"not_managed"},"wp_template":{"mode":"not_managed"},"wp_template_part":{"mode":"not_managed"},"wp_global_styles":{"mode":"not_managed"},"wp_font_family":{"mode":"not_managed"},"wp_font_face":{"mode":"not_managed"},"kadence_form":{"mode":"not_managed"},"kadence_navigation":{"mode":"not_managed"},"kadence_header":{"mode":"not_managed"},"product":{"mode":"not_managed"},"product_variation":{"mode":"not_managed"},"shop_order":{"mode":"not_managed"},"shop_order_refund":{"mode":"not_managed"},"shop_order_placehold":{"mode":"not_managed"},"wcfm_knowledgebase":{"mode":"not_managed"},"wcfm_notice":{"mode":"not_managed"},"wcfm_memberships":{"mode":"not_managed"},"kadence_lottie":{"mode":"not_managed"},"patterns_ai_data":{"mode":"not_managed"},"wp_navigation":{"mode":"not_managed"},"creator":{"mode":"permissions","permissions":{"publish":{"roles":[]},"delete_any":{"roles":[]},"edit_any":{"roles":[]},"delete_own":{"roles":[]},"edit_own":{"roles":[]},"read":{"roles":[]}}},"custom-css-js":{"mode":"not_managed"},"scheduled-action":{"mode":"not_managed"},"dc_commission":{"mode":"not_managed"},"mvx_transaction":{"mode":"not_managed"},"artwork":{"mode":"permissions","permissions":{"publish":{"roles":[]},"delete_any":{"roles":[]},"edit_any":{"roles":[]},"delete_own":{"roles":[]},"edit_own":{"roles":[]},"read":{"roles":[]}}},"shop_order_vendor":{"mode":"not_managed"},"creator-s-artwork":{"mode":"not_managed"},"wpcf-custom-group-961157dd19a8fc759bc4a43fef2a87e2":{"permissions":{"delete_any":{"roles":["administrator"]},"edit_any":{"roles":["administrator"]},"read":{"roles":["administrator"]}},"mode":"not_managed","title":"Logged-in users only"},"_custom_read_errors":{"wpcf-custom-group-961157dd19a8fc759bc4a43fef2a87e2":{"permissions":{"read":{"guest":"error_ct"}}}},"_custom_read_errors_value":{"wpcf-custom-group-961157dd19a8fc759bc4a43fef2a87e2":{"permissions":{"read":{"guest":"577"}}}},"hm_custom_css":{"mode":"not_managed"},"hm_custom_javascript":{"mode":"not_managed"},"wpcode":{"mode":"not_managed"},"sp_easy_accordion":{"mode":"not_managed"},"sp_accordion_faqs":{"mode":"not_managed"}},"tax":{"dc_vendor_shop":{"not_managed":"1","mode":"not_managed","permissions":{"assign_terms":{"roles":[]},"delete_terms":{"roles":[]},"edit_terms":{"roles":[]},"manage_terms":{"roles":[]}}}},"third_party":{"__CRED_CRED":{"__CRED_CRED_GROUP":{"permissions":{"use_any_attachment_with_cred_post_forms":{"roles":["administrator","editor"]},"delete_other_posts_with_cred":{"roles":["administrator","editor"]},"delete_own_posts_with_cred":{"roles":["administrator","editor","author","dc_vendor"]},"create_posts_with_cred_421":{"roles":["administrator","editor","author","dc_vendor"]},"create_posts_with_cred_378":{"roles":["administrator","editor","author","dc_vendor"]}},"mode":"permissions"}},"__CRED_CRED_REL":{"__CRED_CRED_REL_GROUP":{"permissions":{"use_any_attachment_with_cred_rel_forms":{"roles":["administrator","editor"]}},"mode":"permissions"}},"__CRED_CRED_USER":{"__CRED_CRED_USER_GROUP":{"permissions":{"use_any_attachment_with_cred_user_forms":{"roles":["administrator","editor"]},"create_users_with_cred_356":{"roles":["administrator","customer"]}},"mode":"permissions"}}}}},"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"CRED":{"wizard":1,"cache_notice":1,"export_settings":1,"export_custom_fields":1,"autogeneration_email":{"subject":"Welcome new user","body":"[username]Your username is: %cuf_username%[\/username]\\n[nickname]Your nickname is: %cuf_nickname%[\/nickname]\\n[password]Your password is: %cuf_password%[\/password]"},"dont_load_cred_css":1},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":["woo_product_on_sale","woo_product_in_stock","wpv_woo_single_products_rating_func","wpv_woo_list_attributes_func","wpv_woo_show_upsell_func","wpv_woo_products_rating_on_listing_func","woo_has_product_subcategory","woo_shop_display_is_categories","wpv_woo_product_belongs_to_this_order"],"wpv_custom_inner_shortcodes":["author-has-role"],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"gutenberg","default_wpa_editor":"gutenberg","manage_meta_transient_method":"cron","editing_experience":"mixed","disable_theme_settings":0,"views_template_for_product":348,"views_template_conditions_for_product":[],"views_template_for_creator":384,"views_template_conditions_for_creator":[],"views_template_conditions_for_artwork":[],"views_template_for_artwork":434,"view_taxonomy_loop_tags":1228,"view_cpt_creator":370,"view_cpt_artwork":449},"installer":{"version":"3.1.3","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"}},"instances":{"C:\\xampp\\htdocs\\oval\\wp-content\\plugins\\types\\vendor\\otgs\\installer\/installer.php":{"bootfile":"C:\\xampp\\htdocs\\oval\\wp-content\\plugins\\types\\vendor\\otgs\\installer\/installer.php","version":"3.1.3","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2797928

Minesh
Supporter

Languages: English (English )

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

#2797932

Doesn't work. The conditional block does not display any content, regardless of whether there are values present or not.

#2798063

Minesh
Supporter

Languages: English (English )

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

That is strange.

Can you please share problem URL and admin access details and tell me on what condition for what fields you want to display the content conditionally.

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

#2798189

Christopher Amirian
Supporter

Languages: English (English )

Hi,

This is Christopher checking with you as Minesh is off today.

I tried to login to the website but the IP is not available and it shows "ERR_EMPTY_RESPONSE" for me.

Is the website available outside of your local system on the internet? If no, please provide login info that we can access.

Thanks.

#2798193

That issue may occur if only the IP is used. I have already rebooted the server. Please try again.

#2798611

Greetings. Any update?

#2798612

Minesh
Supporter

Languages: English (English )

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

I'm able to login to your site but when I try to edit the post/page - I can see the following error:

178.128.102.82 refused to connect.
ERR_CONNECTION_REFUSED

Can you please turn off any blocking to IP.

#2798616

I tried to adjust the settings of Apache and ufw. Maybe it would work now.

#2798692

It seems that using only the IP address without a domain leads to frequent issues with the test website.
I have tried editing the pages directly on the test site, but as soon as I make an edit, the page freezes and then an error occurs.
Since I cannot confirm the specific cause of the problem, I hope to avoid directly editing the pages to prevent the website from crashing.

If needed, I can provide the login credentials of the server.

#2798697

Minesh
Supporter

Languages: English (English )

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

I experience the same.

We do not encourage to share server details but you may try to host/migrate the site to different server and send me admin access details.

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

#2799372

I think the database error might have occurred because of insufficient RAM.
I have resized the server. Please let me know if it works now.

#2799520

Minesh
Supporter

Languages: English (English )

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

Can you please check now: hidden link

I've added both conditional shortcode:
- one conditoinal block is to check likes are not empty then display likes
- another conditional block is to check likes are empty then display 0
=> hidden link

Is this you want to display?