Shortcode does not work

Viewing 12 posts - 1 through 12 (of 14 total)
#29382

Hello Team BoomDev,

I don’t manage to make the shortcode [woo_pro_badges_catalogue_extended] works. I still cannot see the badges when I add this shortcode. Please review this video: https://share.vidyard.com/watch/Kk3jHRAVPJ89XBkhJ2eyd8?

Could you please help me out,
Thanks a lot for your help,
Best regards,
Sophie

Sophie 2e
Participant
#29385

PS: I had to remove the shortcode because then I could not edit my section with Elementor anymore as it was causing a critical error.

Sophie 2e
Participant
#29383
This reply has been marked as private.
Sophie 2e
Participant
#29388

Hello mam,

The issue has just been resolved. Check it out right now.

Just some custom shortcodes and CSS are used by our team.

You can see it here – https://prnt.sc/CiBwBX-8XL1H

Those codes shouldn’t be removed.

My sincere thanks

Bishal

Shamiul Bishal
Keymaster
#29391

Hell Team BoomDevs,

You are the best! All is good now, thank you much for your help.

Best regards,
Sophie

Sophie 2e
Participant
#29392

Hello Team BoomDevs,

I notice that I am getting this error on my log_errors and that seems to be related to this shortcode:

2023/02/06 11:47:27 [error] 118304#118304: *902365 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_average_rating() on bool in /www/panda_558/public/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php:81
Stack trace:
#0 /www/panda_558/public/wp-includes/shortcodes.php(355): Wpbm_Shortcode->create_product_single_page_badge_shortcode(Array, ”, ‘woo_pro_badges’)
#1 [internal function]: do_shortcode_tag(Array)
#2 /www/panda_558/public/wp-includes/shortcodes.php(227): preg_replace_callback(‘/\\[(\\[?)(woo_pr…’, ‘do_shortcode_ta…’, ‘[woo_pro_badges…’)
#3 /www/panda_558/public/wp-content/plugins/woocommerce-product-badge-manager/includes/class-wpbm-shortcode.php(207): do_shortcode(‘[woo_pro_badges…’)
#4 /www/panda_558/public/wp-includes/shortcodes.php(355): Wpbm_Shortcode->create_product_catalogue_page_badge_extended_shortcode(”, ”, ‘woo_pro_badges_…’)
#5 [internal function]: do_shortcode_tag(Array)
#6 /www/panda_558/public/wp-includes/shortcodes.php(227): preg_replace_callback(” while reading response header from upstream, client: 83.85.169.248, server: swhales.eu, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-panda.sock:”, host: “www.swhales.eu:15707”, referrer: “https://www.swhales.eu/wp-admin/post.php?post=10101&action=elementor”

Could you help me please?
Thanks for your help,
kind regards,
Sophie

Sophie 2e
Participant
#29397

PS: for now I deleted the shortcode from my page because I could not work on my Elementor template page as I was getting a 500 Error every time I try to save the page.

Sophie 2e
Participant
#29408

Hello Team BoomDevs,

Did you had a chance to look at the issue?

Waiting for your news,
Thanks for your help,
Best regards,
Sophie

Sophie 2e
Participant
#29409

Hello Mam,

Right now, you can use the solution. There will be no errors on the frontend. Elementor also allows you to edit the product page.

However, the errors you mention are appearing in the error log. At the moment, we cannot fix that because it has to be done on our plugin, and we are working on it.

Thanks
Bishal

Shamiul Bishal
Keymaster
#29410

Hello Shamiul,

Thank you for your help and for fixing the issue, I still need to enable the safe mode in Elementor to be able to update the pages that have this shortcode, as I was still getting the issue about a 500 Error every time I try to save the page.

I see there is a new update available on Envanto market for your plugin, but I do not have access to it/to update your plugin via the WordPress CMS -> Plugins tabs. Does this update fixes the issue with the shortcode and Elementor editor? And How to add it to my website, without losing all the settings I already created for this badges?

Thanks a lot for your help,
kind regards,
Sophie

Sophie 2e
Participant
#29412

Hello there,

did you had the time to check it out?

Thanks a lot for your help,
Kind regards,
Sophie

Sophie 2e
Participant
#29418

Happy Monday Team BoomDevs,

Could I please have an update on my ticket?

Thanks for your help,
Kind regards,
Sophie

Sophie 2e
Participant
Viewing 12 posts - 1 through 12 (of 14 total)
  • The topic ‘Shortcode does not work’ is closed to new replies.