No, that's the category. It looks like the culprit is getResources, but it definitely shouldn't be executing in the Manager unless some plugin is calling it with runSnippet().
-
☆ A M B ☆
- 476 Posts
Quote from: BobRay at Mar 05, 2013, 01:51 PMNo, that's the category. It looks like the culprit is getResources, but it definitely shouldn't be executing in the Manager unless some plugin is calling it with runSnippet().
Yeh, that's what is odd. In as much as I know, there has been no changes in MODX or any changes to the server in the last few days. This started showing up a day ago.
Precision Web Development ... SmashStack.com
I assume that you've tried all the usual stuff like manually deleting all the files in the core/cache directory and clearing your browser cache and cookies.
The next step would be disabling your plugins.
The only thing I can think of that would make that happen is if getResources is being called with runSnippet in a plugin tied to a Manager event
-
☆ A M B ☆
- 476 Posts
Quote from: BobRay at Mar 05, 2013, 02:02 PMThe only thing I can think of that would make that happen is if getResources is being called with runSnippet in a plugin tied to a Manager event
Hey Bob,
Turns out it was getResources who was the culprit. We did a roll-back and removed an update I had made with getResources in a chunk and that fixed the problem. I have the code below...not sure why getResources was causing this problem since it's a way of coding I've used many times before, but nonetheless it threw the Manager for a loop. Here's the code:
<div class="row">
<div class="span12">
<form name="search-form" action="[[~168]]" method="get" class="form-inline form-path-to-success">
<p class="pull-left path-to-success">Find Your <span>Path To Success</span></p>
<input type="text" id="field-of-study" class="input-xlarge form-text first" placeholder="Field of Study" autocomplete="off" data-provide="typeahead" data-items="4" data-source='[ [[getResources? &parents=`4,38,42,48,52` &outputSeparator=`` &tpl=`search-field` &tplLast=`search-field-last` &limit=`0`]] ]'>
<input type="text" id="degree-type" class="input-xlarge form-text" placeholder="Degree Type" autocomplete="off" data-provide="typeahead" data-items="4" data-source='[ [[getResources? &resources=`254` &outputSeparator=`` &tpl=`search_field_degree_type_options` &limit=`1` &includeTVs=`1`]] ]'>
<input type="hidden" name="search">
<input type="image" src="assets/template/images/search/search-button_off.png" class="img-swap">
<div class="clear"> </div>
</form>
</div><!-- .span12 -->
</div><!-- .row -->
Precision Web Development ... SmashStack.com