Title: Addon causes errors with shortcodes
Last modified: May 21, 2020

---

# Addon causes errors with shortcodes

 *  Resolved [ohonetwork](https://wordpress.org/support/users/ohonetwork/)
 * (@ohonetwork)
 * [6 years ago](https://wordpress.org/support/topic/addon-causes-errors-with-shortcodes/)
 * I am building a site that pulls info from an external API and populates fields
   and tables to show info to logged in users.
 * I use a PHP shortcode to hit the API, create a table, populate and display it.
   I am also using DataTables on the client side to render the tables.
 * Everything was working fine until I added Essential Addons for Elementor. Now
   I am getting this error above every shortcode:
 * `Warning: http_build_query(): Parameter 1 expected to be Array or Object. Incorrect
   value given in /var/www/html/wordpress/wp-includes/Requests/Transport/cURL.php
   on line 508`
 * Error goes away if I disable the plugin. I have tried re-activating, and also
   tried disabling all elements within the plugin that I’m not using.
 * Any idea what could be causing this? I can share the shortcodes that are running
   as well, if you think that may have something to do with the error (although 
   I was not getting any errors before).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Rafin](https://wordpress.org/support/users/rafinkhan/)
 * (@rafinkhan)
 * [6 years ago](https://wordpress.org/support/topic/addon-causes-errors-with-shortcodes/#post-12870726)
 * [@ohonetwork](https://wordpress.org/support/users/ohonetwork/),
 * That’s strange. Can you share your shortcode with us so that we can check and
   investigate? You can also create a support ticket here for further info: wpdeveloper.
   net/support
 * Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Addon causes errors with shortcodes’ is closed to new replies.

 * ![](https://ps.w.org/essential-addons-for-elementor-lite/assets/icon-256x256.
   gif?rev=3182943)
 * [Essential Addons for Elementor - Popular Elementor Templates & Widgets](https://wordpress.org/plugins/essential-addons-for-elementor-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/essential-addons-for-elementor-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/essential-addons-for-elementor-lite/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)

 * 1 reply
 * 2 participants
 * Last reply from: [Rafin](https://wordpress.org/support/users/rafinkhan/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/addon-causes-errors-with-shortcodes/#post-12870726)
 * Status: resolved