Sunday, November 13, 2011

R3 Fix - PROBABLE FATAL ERROR: the number of the same template per target has exceeded upper limit


Background: this error will be encountered if you have too many r3 includes. r3 does this to prevent unnecessary recursion errors like infinite loops.

1. Find registry file: find / -type f | xargs grep "class r3_util_Registry"
2. Edit registry file: vi /path/to/r3/util/Registry.php
3. Increase max number:
From:
private static $default_maxTemplatesPerTarget = 100;
To:
private static $default_maxTemplatesPerTarget = 1000; //or any number of your preference
4. Save and Continue using R3 as usual

  • Related Links Widget for Blogspot

No comments: