Extension talk:Auto-Anchor
Latest comment: 12 years ago by Sledged in topic Fatal Error
Fatal Error
editUpon initial installation I receive : Fatal error: Undefined class constant 'NONE' in /my_path/AutoAnchor/AutoAnchor.php on line 61
- I got the same fatal error as described by the above user. After installing Extension:Auto-Anchor, I tested the example shown in the instructions:
{{#anc: Runnin' Down A Dream | 4 }}
- Got this fatal error:
Fatal error: Undefined class constant 'NONE' in /(path to wiki)/extensions/AutoAnchor/AutoAnchor.php on line 61
- Don't know when I'll be able to get to this, but find the line that reads:
$id = Sanitizer::escapeId( $id, Sanitizer::NONE );
- change it to
$id = Sanitizer::escapeId( $id );
- and let me know if it works. —Sledged (talk) 19:37, 18 October 2012 (UTC)