Title: Error with shortcode
Last modified: October 31, 2023

---

# Error with shortcode

 *  Resolved [JustBruno](https://wordpress.org/support/users/justbruno/)
 * (@justbruno)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-with-shortcode-3/)
 * Hi, Using the following shortcodes I get the following error:
 *     ```wp-block-code
       <---->
   
       Here's what [testimonial_count category="general"] local clients say
   
       [testimonial_view id="1"]
       ```
   
 * Error thrown
 * Undefined class constant ‘DATETIME_CATEGORY’

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

 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-with-shortcode-3/#post-17180045)
 * Hi [@justbruno](https://wordpress.org/support/users/justbruno/),
 * Thanks for reaching out! Can you please send me a screenshot with those shortcodes
   added in the page editor? Also, does the ‘general’ category exist and has testimonials
   in it?
 * If it does, can you please install this plugin: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   
   After you install and activate the above plugin it has a Troubleshooting mode
   which allows you to have a vanilla WordPress session, where all plugins are disabled,
   and a default theme is used, but only for your user – your visitors will still
   see the normal website.
 * Go to its troubleshoot mode and only activate this plugin and see if the same
   happens with a default WordPress theme (Twenty Twenty-two, for example) and no
   other plugins.
 * Warmly,
 * Mihaela
 *  [Miha](https://wordpress.org/support/users/mplusb/)
 * (@mplusb)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/error-with-shortcode-3/#post-17206203)
 * Marking this support thread as resolved due to inactivity. If you have any other
   questions or need further help please open a new thread.

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

The topic ‘Error with shortcode’ is closed to new replies.

 * ![](https://ps.w.org/strong-testimonials/assets/icon-256x256.png?rev=3134855)
 * [Strong Testimonials](https://wordpress.org/plugins/strong-testimonials/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/strong-testimonials/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/strong-testimonials/)
 * [Active Topics](https://wordpress.org/support/plugin/strong-testimonials/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/strong-testimonials/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/strong-testimonials/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Miha](https://wordpress.org/support/users/mplusb/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/error-with-shortcode-3/#post-17206203)
 * Status: resolved