Title: CJT PHP Code Error detected&#8230;
Last modified: August 21, 2016

---

# CJT PHP Code Error detected…

 *  Resolved [mav666](https://wordpress.org/support/users/mav666/)
 * (@mav666)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cjt-php-code-error-detected/)
 * Hello!
 * When I create HTML code block with PHP code inside I get on front end of my site
   the following message:
 * _“CJT PHP Code Error detected for the following block:_
 * Name: NewsInPost HTML
    ID: #48
 * PHP Error Details are listed below:”
 * And below…
    **Everything is OK**. I see results of HTML with PHP code correctly.
 * Part of the code block:
 *     ```
       <div class="media">
       <p class="sharebutton">Some text...</p>
       <?php echo do_shortcode('[ssba]'); ?>
       </div>
       ```
   
 * And…
    PHP code can be replaced by another plugin shortcode. I have two similar
   sites. In one site HTML with shortcode working properly and on the second site
   I see only shortcode ([ssba]).
 * I try to implement [Simple Share Button](http://wordpress.org/plugins/simple-share-buttons-adder/)
   plugin.
    PHP code: <?php echo do_shortcode(‘[ssba]’); ?> Shortcode: [ssba]
 * Any ideas?
 * [http://wordpress.org/plugins/css-javascript-toolbox/](http://wordpress.org/plugins/css-javascript-toolbox/)

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

 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cjt-php-code-error-detected/#post-4242553)
 * Hi mav666,
 * Thank you for your support message.
    I apologise for the delay in getting back
   to you. We have been super busy with various projects and haven’t had a chance
   to look into this. Please leave it with us and we will investigate the case and
   get back to as soon as we can.
 * Kind Regards,
    Damian
 *  Plugin Author [wipeoutmedia](https://wordpress.org/support/users/wipeoutmedia/)
 * (@wipeoutmedia)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cjt-php-code-error-detected/#post-4242668)
 * Hello!
 * I’ve checked out the issue you’ve and I found that the Simple Share Button button
   Plugin is not E_ALL complain. There is an PHP Notice occurred while
    calling 
   the Shortcode. The error on there is not a blocked type error and can be passed.
   Its just annoyed you as its displaying some error text along with the result.
 * I’ve did some enhancement for that part to avoid output any error information
   unless WordPress WP_DEBUG constant is set to TRUE.
 * You can always get the development version through here: [https://github.com/css-javascript-toolbox/css-javascript-toolbox-plugin](https://github.com/css-javascript-toolbox/css-javascript-toolbox-plugin).
   The development version currently has this fix however there is no official release
   yet. You can install it manually if you like.
 * One thing I’m not sure about is that you said you’ve two sites and one of them
   print out [ssba]! I believe this is not related to CJT Plugin and you might have
   another issue with that site that prevent the Shortcde from working properly.
 * Please let me know your thoughts.
 * Please don’t hestiate to contact us if you’ve any further questions.
 * Regards,
    AHMeD
 *  Thread Starter [mav666](https://wordpress.org/support/users/mav666/)
 * (@mav666)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/cjt-php-code-error-detected/#post-4242669)
 * Thank you for response!
 * On my first site (with error) I put PHP code from Simple Share Button plugin 
   in theme code template. Now is ok. Everything working. CJT and Simple Share Button
   plugins.
 * On second site I still have **[ssba]** in CJT code and is ok too…
    Site is under
   construction, but you can see bottom of example post/page: Post: [http://eforex4u.pl/sygnaly-forex-czy-warto-z-nich-korzystac](http://eforex4u.pl/sygnaly-forex-czy-warto-z-nich-korzystac)
   Page: [http://eforex4u.pl/darmowy-kurs-forex/co-to-jest-forex](http://eforex4u.pl/darmowy-kurs-forex/co-to-jest-forex)
 * I do not know why, but working 🙂
 * Regards,
    Mav

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

The topic ‘CJT PHP Code Error detected…’ is closed to new replies.

 * ![](https://ps.w.org/css-javascript-toolbox/assets/icon-256x256.gif?rev=3132209)
 * [CSS & JavaScript Toolbox](https://wordpress.org/plugins/css-javascript-toolbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/css-javascript-toolbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/css-javascript-toolbox/)
 * [Active Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/css-javascript-toolbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/css-javascript-toolbox/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [mav666](https://wordpress.org/support/users/mav666/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/cjt-php-code-error-detected/#post-4242669)
 * Status: resolved