Title: Minor brokenness/error with shortcode embedding
Last modified: August 21, 2016

---

# Minor brokenness/error with shortcode embedding

 *  [bigiaim](https://wordpress.org/support/users/bigiaim/)
 * (@bigiaim)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/minor-brokennesserror-with-shortcode-embedding/)
 * Hi,
 * I just bumped into a error when embedding a Meteor Slides slideshow via a shortcode
   in a Custom Field.
 * Parse error: syntax error, unexpected T_STRING in /home/screwpie/public_html/
   wp-content/plugins/advanced-custom-field-widget/adv-custom-field-widget.php(566):
   eval()’d code on line 3
 * Details and workaround on the Mantis bug tracker here:
 * [http://mantis.outer-reaches.co.uk/view.php?id=29](http://mantis.outer-reaches.co.uk/view.php?id=29)
 * The problem appears to come from line 566 of adv-custom-field-widget.php (version
   0.991):
 * `eval( '$cvalue="\n<div class=\"advcustomvalue\">\n' . $cvalue . '\n</div>\n";');`
 * If I unwrap the eval around that assignement to $cvalue – “it works for me” (
   I don’t know whether that eval is important somewhere else – I’ve likely broken
   the plugin somewhere else, but it’s working for now on my site if I replace that
   line with:
 * `$cvalue="\n<div class=\"advcustomvalue\">\n' . $cvalue . '\n</div>\n";`
 * [http://wordpress.org/extend/plugins/advanced-custom-field-widget/](http://wordpress.org/extend/plugins/advanced-custom-field-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [athenaofdelphi](https://wordpress.org/support/users/athenaofdelphi/)
 * (@athenaofdelphi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/minor-brokennesserror-with-shortcode-embedding/#post-3856316)
 * Hi bigiaim,
 * I actually sent you a mail about this issue, please can you let me know whether
   you’ve received it or not.
 * Thanks
 * AthenaOfDelphi

Viewing 1 replies (of 1 total)

The topic ‘Minor brokenness/error with shortcode embedding’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-custom-field-widget.svg)
 * [Advanced Custom Field Widget](https://wordpress.org/plugins/advanced-custom-field-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-field-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-field-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-field-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-field-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-field-widget/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [unexpected T_STRING](https://wordpress.org/support/topic-tag/unexpected-t_string/)

 * 1 reply
 * 2 participants
 * Last reply from: [athenaofdelphi](https://wordpress.org/support/users/athenaofdelphi/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/minor-brokennesserror-with-shortcode-embedding/#post-3856316)
 * Status: not resolved