Home Forums Mighty Addons display condition by country

Tagged: 

Mighty Addons

  • #16584
  • |
  • 3 years, 3 months ago

display condition by country

mcginity
Participant

Hello,

I am trying to use the Display Condition, using the rule by country.

But it is not work. I tested using Brazil and France, using the rule IS NOT or IS
and result is the same: not worked.

I tested using IP Address or OS and works well.

Just for country not worked.

Question: I need to configure something else to use the rule by country ?

  • #16596
  • |
  • 3 years, 3 months ago
mcginity
Participant

We found the problem. It was on json_decode. If remove the @ from @json_decode it works…
we would be glad to earn an extra year of license for solving the bug hehehehe

thanks

  • #16636
  • |
  • 3 years, 3 months ago
Naveen
Keymaster

Hello Mcginity,

Thanks for the reporting the bug and providing the solution.

You can mail us regarding the reward.

Thank you.
Naveen

  • #16807
  • |
  • 3 years, 3 months ago
Akash
Keymaster

Hey @mcginity,

Thank you for posting the solution. Though I’ve tried this at my end on both PHP v7 and v8 and it’s working fine.

Can you let me know what PHP version are you using? It’ll help me to find the exact issue.

Let me know.

Thanks,
Akash

  • img-3

    Take Elementor to the Next Level
    Get Mighty Addons today!

    Explore More

  • Viewing 4 posts - 1 through 4 (of 4 total)
    • The topic ‘display condition by country’ is closed to new replies.
    img-bottom-cta

    Get Products Updates & Promos Directly in your inbox!