Title: Error when trying to select Data Source
Last modified: June 23, 2019

---

# Error when trying to select Data Source

 *  Resolved [captzeanie2016](https://wordpress.org/support/users/captzeanie2016/)
 * (@captzeanie2016)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-when-trying-to-select-data-source/)
 * Hello,
 * I have installed wpDatatables on my IIS/PHP/MySQL site.
 * I have just gone to create my first datatable by selecting the first choice “
   Create a table linked to an existing data source.”
 * I am then taken to the page to select what type. Now the “Input data source type”
   dropdown box is empty. It is not selectable either. ie nothing happens when I
   click on it.
 * There is an error in the PHP log..
    23-Jun-2019 23:43:05 UTC] PHP Warning: Invalid
   argument supplied for foreach() in C:\inetpub\wwwroot\www\wp-content\plugins\
   wpdatatables\templates\admin\table-settings\add_column_modal.inc.php on line 
   72 [23-Jun-2019 23:43:05 UTC] PHP Warning: Invalid argument supplied for foreach()
   in C:\inetpub\wwwroot\www\wp-content\plugins\wpdatatables\templates\admin\table-
   settings\remove_column_modal.inc.php on line 40
 * In fact even going into the wpdatatable settings page, all the dropdown boxes
   an not selectable.
 * I tried clearing the browser cache (as suggested in the only other thread) but
   this did not work. I downloaded Chrome and tried but this too failed to allow
   the dropdown boxes to be selectable.
    Any idea what the issue maybe
 * Thanks
    -  This topic was modified 6 years, 11 months ago by [captzeanie2016](https://wordpress.org/support/users/captzeanie2016/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [captzeanie2016](https://wordpress.org/support/users/captzeanie2016/)
 * (@captzeanie2016)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-when-trying-to-select-data-source/#post-11668228)
 * I should also add that dropdown boxes in other plugins etc are working fine.
 * I checked the page source and the data for the drop downs is there. So somnething
   else is stopping the dropdowns from working. Maybe the CSS?
    -  This reply was modified 6 years, 11 months ago by [captzeanie2016](https://wordpress.org/support/users/captzeanie2016/).
 *  [samjco](https://wordpress.org/support/users/samjco/)
 * (@samjco)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-when-trying-to-select-data-source/#post-11680062)
 * There is a conflict in admin js somewhere perhaps.
    Try disabling the js (Include
   full bootstrap back-end) of WPDatatables in the settings.
    -  This reply was modified 6 years, 11 months ago by [samjco](https://wordpress.org/support/users/samjco/).
 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/error-when-trying-to-select-data-source/#post-11713957)
 * Hello there.
 * Sorry for the late response.
 * This is probably a conflict with the Bootstrap files. Can you, please, go to 
   main settings and disable bootstrap for both front-end and back-end, and see 
   if it works after that?
 * If not, there is a line of code that should be changed to get the plugin to display
   drop-downs normally.
 * Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when trying to select Data Source’ is closed to new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/error-when-trying-to-select-data-source/#post-11713957)
 * Status: resolved