Created
November 5, 2013 12:13
-
-
Save pepebe/7318178 to your computer and use it in GitHub Desktop.
Fix fatal error:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Quick fix for this problem until I have the time to look for the cause. | |
"Fatal Error: Cannot redeclare class modTemplateVarInputRenderText... | |
...in core/model/modx/processors/element/tv/renders/mgr/input/text.class.php onl line 10" | |
*/ | |
/** | |
* @package modx | |
* @subpackage processors.element.tv.renders.mgr.input | |
*/ | |
if (! class_exists('modTemplateVarInputRenderText')) { | |
class modTemplateVarInputRenderText extends modTemplateVarInputRender { | |
public function getTemplate() { | |
return 'element/tv/renders/input/textbox.tpl'; | |
} | |
} | |
} | |
return 'modTemplateVarInputRenderText'; |
I have the same issue, and am also using this fix. No idea what the cause is however.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever find the cause of this @pepebe?