Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Plugin Conflict
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 1 month ago.
- AuthorPosts
- April 23, 2018 at 1:33 pm #17592
Hi
We are having issues with Ajax Search Pro conflicting with TablePress.
We are using TablePress (https://wordpress.org/plugins/tablepress) and the Auto Import addon: https://tablepress.org/extensions/table-auto-import. We had an issue where the auto import feature was not working (set to auto import every 15 minutes).
I tested plugins by deactivating each one, and it turned out Ajax Search Pro was causing the following PHP error to occur on TablePress and stopping the autoimport from working:
PHP Fatal error: Call to a member function get() on null in /nas/content/live/contentlyin/wp-content/plugins/tablepress/classes/class-controller.php on line 89, referer: https://inside.conte…4241294.4426360130310058593750
Do you have any ideas why Ajax Search Pro is causing the conflict and error, stopping the TablePress Auto Import from working? It works fine with Ajax Search Pro disabled.
Thanks!
April 23, 2018 at 8:44 pm #17601Hi!
There are actually two minor tablepress related sections in the plugin. Both are used within the index table controller file. I am not sure how that conflicts with the auto imported though.
Can you please try these steps, and let me know if any of them helped?
Step 1
Try this first. Open up the wp-content\plugins\ajax-search-pro\includes\classes\etc\indextable.class.php file and scroll to lines 1089-1091, which shoudl be these:if ( defined( 'TABLEPRESS_ABSPATH' ) ) { unset( $tp_controller ); }
Please delete or comment those lines.
..if the above step has no effect, then..
Step 2
In the same file, on lines 1039-1042if ( defined( 'TABLEPRESS_ABSPATH' ) ) { $tp_controller = TablePress::load_controller( 'frontend' ); $tp_controller->init_shortcodes(); }
Delete or comment these lines as well. Please let me know if this changed anything. These are the only tablepress related lines in the plugin, I don’t think anything else should conflict with it.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 24, 2018 at 12:37 am #17607You cannot access this content.April 24, 2018 at 9:27 am #17609You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.