Description
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:
- Install the latest version of the visualizer and TF random number plugin(https://wordpress.org/plugins/tf-numbers-number-counter-animaton/)
- Go to the Random Number option in the sidebar and add a sample number.
- Copy the shortcode of the sample number.
- Create a New page or post.
- Insert the shortcode of the sample number in post.
- Publish the page/post.
- Observe the error.
- Check the error log file.
- 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:
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/
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