Title: mract's Replies | WordPress.org

---

# mract

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Premium Testimonial](https://wordpress.org/support/topic/premium-testimonial/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/premium-testimonial/#post-10747796)
 * Sounds great, thanks for the awesome plugin and fast support 🙂
    Once updated
   feel free to mark this as resolved and we will update the plugin once the new
   update is available.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [“TEMPLATEPATH” depreciated but still included in multiple core WordPress Files?](https://wordpress.org/support/topic/templatepath-depreciated-but-still-included-in-multiple-core-wordpress-files/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/templatepath-depreciated-but-still-included-in-multiple-core-wordpress-files/#post-10637849)
 * Still trying to find a solution to this problem.. Jacob’s suggestion to look 
   for unquoted strings didn’t help since this error references a specific WordPress
   function..
 * PHP Warning: Use of undefined constant STYLESHEETPATH – assumed ‘STYLESHEETPATH’(
   this will throw an Error in a future version of PHP) in /public_html/wp-includes/
   template.php on line 634
 * Full Function
 *     ```
       function locate_template($template_names, $load = false, $require_once = true ) {
       	$located = '';
       	foreach ( (array) $template_names as $template_name ) {
       		if ( !$template_name )
       			continue;
       		if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
       			$located = STYLESHEETPATH . '/' . $template_name;
       			break;
       		} elseif ( file_exists(TEMPLATEPATH . '/' . $template_name) ) {
       			$located = TEMPLATEPATH . '/' . $template_name;
       			break;
       		} elseif ( file_exists( ABSPATH . WPINC . '/theme-compat/' . $template_name ) ) {
       			$located = ABSPATH . WPINC . '/theme-compat/' . $template_name;
       			break;
       		}
       	}
   
       	if ( $load && '' != $located )
       		load_template( $located, $require_once );
   
       	return $located;
       }
       ```
   
 * Line 634:
 *     ```
       if ( file_exists(STYLESHEETPATH . '/' . $template_name)) {
       			$located = STYLESHEETPATH . '/' . $template_name;
       			break;
       		}
       ```
   
    -  This reply was modified 7 years, 9 months ago by [mract](https://wordpress.org/support/users/mract/).
      Reason: Updated info
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [“TEMPLATEPATH” depreciated but still included in multiple core WordPress Files?](https://wordpress.org/support/topic/templatepath-depreciated-but-still-included-in-multiple-core-wordpress-files/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/templatepath-depreciated-but-still-included-in-multiple-core-wordpress-files/#post-10492207)
 * I’m using quoted strings though in all my functions I’ve created and it’s referencing
   the file “template.php” not my functions.php?
 * I have the most recent version of WordPress and it’s referencing the error on
   line 634 and 637 of this file: [https://developer.wordpress.org/reference/functions/locate_template/](https://developer.wordpress.org/reference/functions/locate_template/)
 * I’m not certain what I’m supposed to change when it’s using the latest version
   and the error log is reporting this error every second?
 *     ```
       [13-Jul-2018 18:20:44 UTC] PHP Warning:  Use of undefined constant STYLESHEETPATH - assumed 'STYLESHEETPATH' (this will throw an Error in a future version of PHP) in /public_html/wp-includes/template.php on line 634
   
       [13-Jul-2018 18:20:44 UTC] PHP Warning:  Use of undefined constant TEMPLATEPATH - assumed 'TEMPLATEPATH' (this will throw an Error in a future version of PHP) in /public_html/wp-includes/template.php on line 637
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar: Category Colors] Categories are showing as a list and unlinked](https://wordpress.org/support/topic/categories-are-showing-as-a-list-and-unlinked/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [8 years ago](https://wordpress.org/support/topic/categories-are-showing-as-a-list-and-unlinked/#post-10362800)
 * Hey Andy,
 * Fantastic find, I added a script to my functions.php to remove any Query Strings
   as GTMetrix was flagging them, after removing that script everything restored.
 * Thanks tons for the great quick support and the awesome plugin!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[rw Quick Page and Post Redirects] Conflicting with “The Event Calendar” plugin](https://wordpress.org/support/topic/conflicting-with-the-event-calendar-plugin/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [8 years ago](https://wordpress.org/support/topic/conflicting-with-the-event-calendar-plugin/#post-10309334)
 * Hey BearlyDoug, I believe it does conflict with the past version of “The Event
   Calendar Pro” as well as I did attempt to revert the plugin.
 * Regarding “rw Quick Page and Post Redirects” I’m uncertain if the bug exists 
   in the past version, we didn’t try reverting that.
 * To re-create the bug we experienced:
    – Create a Calendar event – Attempt to 
   set the date & time to a future date – Attempt to Save Draft / Publish, when 
   attempting this you’ll notice the event is saved/published but the Calendar date
   will show Today and the time will show blank.
 * You’ll likely also find instead of returning to the Event you had published/saved
   it redirects instead to the homepage.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[rw Quick Page and Post Redirects] Conflicting with “The Event Calendar” plugin](https://wordpress.org/support/topic/conflicting-with-the-event-calendar-plugin/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [8 years ago](https://wordpress.org/support/topic/conflicting-with-the-event-calendar-plugin/#post-10309290)
 * Hey BearlyDoug, this is with “The Event Calendar Pro” (version 4.4.26)
 * Temporary Fix:
    When in the page “/admin.php?page=redirect-options” I was able
   to check “tribe_events” and Hide meta box for following Post Type.
 * It seems to not loop and break the date when I’ve done this, hopefully this helps
   track down the bug.
    -  This reply was modified 8 years ago by [mract](https://wordpress.org/support/users/mract/).
    -  This reply was modified 8 years ago by [mract](https://wordpress.org/support/users/mract/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Unable to create events after latest update](https://wordpress.org/support/topic/unable-to-create-events-after-latest-update/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [8 years ago](https://wordpress.org/support/topic/unable-to-create-events-after-latest-update/#post-10309251)
 * After researching further I noticed the plugin “rw Quick Page and Post Redirects”
   is conflicting with your plugin. I’m not sure if its their plugin or yours causing
   the bug.
 * Plugin may be conflicting: [https://wordpress.org/plugins/rw-quick-page-and-post-redirects/](https://wordpress.org/plugins/rw-quick-page-and-post-redirects/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Unable to create events after latest update](https://wordpress.org/support/topic/unable-to-create-events-after-latest-update/)
 *  Thread Starter [mract](https://wordpress.org/support/users/mract/)
 * (@mract)
 * [8 years ago](https://wordpress.org/support/topic/unable-to-create-events-after-latest-update/#post-10309114)
 * Hey Ed,
 * Could you please advise us in regards to the Free “Events Calendar” plugin as
   the issue exists if we have the Pro enabled or not.
 * Pro support is not available to us as we are using the Non Profit License so 
   Free support is the only support you provide. We would appreciate your assistance
   in helping us sort out this problem.

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