Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error caused by conflict with TF Random Number Plugin. #933

Closed
kushh23 opened this issue Sep 1, 2022 · 2 comments · Fixed by #934 or #936
Closed

Fatal error caused by conflict with TF Random Number Plugin. #933

kushh23 opened this issue Sep 1, 2022 · 2 comments · Fixed by #934 or #936
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.

Comments

@kushh23
Copy link

kushh23 commented Sep 1, 2022

Description:

The latest version of Visualizer(v3.7.11) is having trouble with the TF random number plugin. If you add a short code of this plugin on your website’s page/post then the page doesn’t get published because of some errors caused by Visualizer.

The log file says the error is because of the Visualizer module on line 804.

I checked the previous version of the visualizer with TF random number plugin and this issue doesn't occur in the last version.

How to reproduce this issue:

  1. Install the latest version of the visualizer and TF random number plugin(https://wordpress.org/plugins/tf-numbers-number-counter-animaton/)
  2. Go to the Random Number option in the sidebar and add a sample number.
  3. Copy the shortcode of the sample number.
  4. Create a New page or post.
  5. Insert the shortcode of the sample number in post.
  6. Publish the page/post.
  7. Observe the error.
  8. Check the error log file.
  9. You will get the following error :

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Visualizer_Module::filterChartTitle()

See this screenshot to view the full error:

bug1

Expected behavior:

The visualizer plugin should not interfere with different plugins and there should be no error in the log file.

Current behavior:

The latest version of the visualizer plugin is causing a fatal error if you use the shortcode of the TF random number plugin.

Reference:

You can use this documentation to learn the basic usage of TF random Number Plugin: http://themeflection.com/docs/tf-numbers/

Screenshot_1
Screenshot_2
Screenshot_3

User reported here: https://wordpress.org/support/topic/conflict-with-another-plugin-tf-random-numbers/

Technical info

  • WordPress version: 6.0.2
  • Visualizer version: 3.7.11
@kushh23 kushh23 added the bug This label could be used to identify issues that are caused by a defect in the product. label Sep 1, 2022
@girishpanchal30 girishpanchal30 linked a pull request Sep 1, 2022 that will close this issue
@stefan-cotitosu
Copy link

@vytisbulkevicius vytisbulkevicius linked a pull request Sep 7, 2022 that will close this issue
vytisbulkevicius added a commit that referenced this issue Sep 7, 2022
- Fixed compatibility issue with some themes and plugins #933
pirate-bot pushed a commit that referenced this issue Sep 7, 2022
##### [Version 3.7.12](v3.7.11...v3.7.12) (2022-09-07)

- Fixed compatibility issue with some themes and plugins [#933](#933)
@pirate-bot
Copy link
Contributor

🎉 This issue has been resolved in version 3.7.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. released Indicate that an issue has been resolved and released in a particular version of the product.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants