Title: decay's Replies | WordPress.org

---

# decay

  [  ](https://wordpress.org/support/users/decay/)

 *   [Profile](https://wordpress.org/support/users/decay/)
 *   [Topics Started](https://wordpress.org/support/users/decay/topics/)
 *   [Replies Created](https://wordpress.org/support/users/decay/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/decay/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/decay/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/decay/engagements/)
 *   [Favorites](https://wordpress.org/support/users/decay/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meta for WooCommerce] Server Sending Invalid Match Key Parameters for ViewContent Event](https://wordpress.org/support/topic/server-sending-invalid-match-key-parameters-for-viewcontent-event-5/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/server-sending-invalid-match-key-parameters-for-viewcontent-event-5/#post-13718693)
 * [@marcusskyverge](https://wordpress.org/support/users/marcusskyverge/)
 * I’m coming up on this error with the plugin as well. WordPress and the plugin
   are updated to current versions. The site and code are not originally mine, so
   I am learning about where they are firing events from. This site is not using
   the facebook interface to create events. Would migrating the events to this interface
   possibly fix this error?
 * Thanks in advance
 * Edit: I was wrong about the events on site. I just didn’t have access to the 
   events through the interface. I’m still curious about what change to make in 
   order to remove this error.
    -  This reply was modified 5 years, 5 months ago by [decay](https://wordpress.org/support/users/decay/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Exclude] Removal of search exclude from wordpress.org](https://wordpress.org/support/topic/removal-of-search-exclude-from-wordpress-org/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/removal-of-search-exclude-from-wordpress-org/page/2/#post-11907172)
 * Thanks for getting this sorted. I can build again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Search Exclude] Removal of search exclude from wordpress.org](https://wordpress.org/support/topic/removal-of-search-exclude-from-wordpress-org/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/removal-of-search-exclude-from-wordpress-org/#post-11903485)
 * following
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Echoing the Yoast Primary Category in Yoast SEO via PHP](https://wordpress.org/support/topic/echoing-the-yoast-primary-category-in-yoast-seo-via-php/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/echoing-the-yoast-primary-category-in-yoast-seo-via-php/#post-9002191)
 * Here it is:
 *     ```
       $cat = new WPSEO_Primary_Term('category', get_the_ID());
           $cat = $cat->get_primary_term();
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Echoing the Yoast Primary Category in Yoast SEO via PHP](https://wordpress.org/support/topic/echoing-the-yoast-primary-category-in-yoast-seo-via-php/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/echoing-the-yoast-primary-category-in-yoast-seo-via-php/#post-9001809)
 * I’m working on this myself. I’d love to hear if someone has accomplished this.
   I’ll return if I figure it out on my own.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table Field Add-on for ACF and SCF] Shortcodes in table/td](https://wordpress.org/support/topic/shortcodes-in-tabletd/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/shortcodes-in-tabletd/#post-7262048)
 * I’m back! Sorry for my delay.
 * In the interest of full disclosure you should know that we are using “Shortcode
   exec php”
 * (I discovered this and it cleared up my problem quite a bit)
 * When I created a shortcode with:
 * `return "Here is the new shortcode content";`
 * I got the expected result.
 * When I used :
 * ‘return “<i class=\”fa fa-times\”>­</i>”;`
 * I had this error:
 * **Warning: Invalid argument supplied for foreach() in /srv/bindings/bacb3e3fda39463f9ad5632741cf2459/
   code/wp-content/themes/sahifa-child/template-article-1.php on line 345**
 * I know that this is because it is receiving the wrong information, ie:
 * > An issue could be, that the returning content of the shortcode contains special
   > characters, which breaks the JSON format of the table data. A solution is to
   > encode the content into JSON format and removing the surrounding quotes of 
   > the JSON string.
 * Which you had pointed out. So I have removed the “\” out of my return and everything
   works great.
 * Thank you for your help in this. I know it was a pretty simple issue, but you
   provided me everything I needed to get it figured out in a short time frame. 
   This is such a great addition to ACF and it is used on every page that I create.(
   We use tons of tables…)
 * Thanks again and I hope this helps someone in the future.
 * Cheers!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress Menu Exporter] Worth updating?](https://wordpress.org/support/topic/worth-updating/)
 *  [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/worth-updating/#post-6433180)
 * I’m just discovering this plugin, which doesn’t work for my WP version 4.5.2 
   I receive a 502 error on export. I’d love to see an update.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WordPress Website Tools Plugin – AddThis] Pantheon and addThis tool kit dev/test/live environment issues](https://wordpress.org/support/topic/pantheon-and-addthis-tool-kit-devtestlive-environment-issues/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years ago](https://wordpress.org/support/topic/pantheon-and-addthis-tool-kit-devtestlive-environment-issues/#post-7352816)
 * Julka,
 * Thank you for your quick reply! I’m going to get my backend specialist involved
   in this. He would be more knowledgable of these specifics than I. I’ll report
   back when I know more.
 * Until then,
 * -dK
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table Field Add-on for ACF and SCF] Shortcodes in table/td](https://wordpress.org/support/topic/shortcodes-in-tabletd/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-in-tabletd/#post-7261959)
 * Johann, and anyone that may be watching this…
 * I have been distracted by some other needs with my page, so I have not been able
   to get back to this issue. I will look at this as again, as soon as I can. Thanks
   for the additional info.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table Field Add-on for ACF and SCF] Shortcodes in table/td](https://wordpress.org/support/topic/shortcodes-in-tabletd/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-in-tabletd/#post-7261899)
 * So I have tested this in a few different ways and I cannot get the table to show
   after I enable shortcodes in functions.php and add the [shortcode] to the table
   cell. All of my other fields show the expected shortcode content, it is only 
   the table fields that break. To be more specific: **The entire table disappears
   after enabling shortcodes.**
 * I thought that this may be caused by the structure of my custom fields. I have
   a flexible content field that is containing my table as well as all my other 
   elements. **I tried creating a table that is completely independent of all other
   elements and I have the same issue.**
 * I am back at square 1 on this and cannot figure out why the table breaks with
   shortcodes. Any one else have this problem?
 * edit: I updated my ACF Pro to version 5.3.7 and my table fields plugin is current._**
   WP version is only 4.3**_ Everything is working fine except for this shortcode/
   table issue that I am up against. I will not be updating my WP version tonight
   as it requires some help from my guys on the back end (this WP install is messy
   and was inherited from previous developers) but I will report back tomorrow if
   this fixes it.
 * _**Do you think this may be the issue Johann? Would you suggest I go to WP version
   4.4 or the new 4.5 just released?**_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table Field Add-on for ACF and SCF] Shortcodes in table/td](https://wordpress.org/support/topic/shortcodes-in-tabletd/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-in-tabletd/#post-7261867)
 * So I’m realizing that the function I was using previously is the same as what
   you have shown here. It still isn’t working, but it should be. I am going to 
   test this on other tables I have built and see if I can get it to work there.
   It may have something to do with the table itself.
 * I’ll report back. I’m sure this will be helpful to someone down the road, as 
   your support forum has been for me 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Table Field Add-on for ACF and SCF] Shortcodes in table/td](https://wordpress.org/support/topic/shortcodes-in-tabletd/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/shortcodes-in-tabletd/#post-7261865)
 * I have ACF 5 Pro. I will be testing this when I get in the office and will report
   back. Thanks for getting back with me!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Global CSS by Joddit] Trying to use this plugin for the first time](https://wordpress.org/support/topic/trying-to-use-this-plugin-for-the-first-time/)
 *  Thread Starter [decay](https://wordpress.org/support/users/decay/)
 * (@decay)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/trying-to-use-this-plugin-for-the-first-time/#post-6931603)
 * I guess this is a no…
 * For anyone wondering, this is a legitimate Custom CSS plugin:
 * [https://wordpress.org/plugins/wp-add-custom-css/](https://wordpress.org/plugins/wp-add-custom-css/)

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