Support Forum
Simple Press 5.6 Fatal Error: Can't redecalre spDefault_textdomain()
joon lee
Member
Offline
Fatal error: Cannot redeclare spDefault_textdomain() (previously declared in /home/seoultouchup/www/www/wp-content/sp-resources/forum-themes/touch-151220/templates/spFunctions.php:27) in /home/seoultouchup/www/www/wp-content/sp-resources/forum-themes/touch-forum/templates/spFunctions.php on line 28
--------
I just checked and the line 27 and 28 are these
# load the theme textdomain for tranlations
function spDefault_textdomain() {
sp_theme_localisation('spDefault');
}
---------
Can you help? Thanks
-------
Wordpress 4.4
Simple Press 5.6
Yellow Swordfish
Glinton, England
SP Master
Offline
If you followed the instructions on our codex for making a custom theme you would have read that you need to change the name of the text domain. You can see it there still named 'sfDefault'. Just change the name to match your theme. Although after the old theme is completely deactivated the problem disappears .
YELLOW
SWORDFISH
|
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626