I’m using wordpress MU with buddypress.
I just uploaded 2 or 3 pinterest like themes and was testing them…all of a sudden I get these errors and they remain on every page of my website even after I deleted these themes!
these two errors are always there:
Warning: include_once(includes/custompost.php) [function.include-once]: failed to open stream: No such file or directory in /home/swotong/public_html/bluewhalefamily.com/wp-content/themes/frisco-for-buddypress/functions.php on line 271
Warning: include_once() [function.include]: Failed opening ‘includes/custompost.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/swotong/public_html/bluewhalefamily.com/wp-content/themes/frisco-for-buddypress/functions.php on line 271
I tried to figure it out myself and I found that most if not all themes’ function.php files in my wordpress multisite are changed—the following code is added at the end of function.php.
<?php include_once ('includes/custompost.php'); ?>
The warning disappears once I delete the above codes but I have about 80 users using different themes on my site, do I have to delete that code one by one and is that the proper way?
Another warning I get after trying those themes is the following:
Warning: Cannot modify header information – headers already sent by (output started at /home/swotong/public_html/bluewhalefamily.com/wp-content/themes/frisco-for-buddypress/functions.php:270) in /home/swotong/public_html/bluewhalefamily.com/wp-includes/pluggable.php on line 866
It appears every time I press visit random site/group/user ….
The themes that cause these problems should be one of the following : (I’m sorry but I really can’t make sure which one it is )
Please give me a hand. Thank you so much!
P.S. if I have to reinstall, how can I keep my users’ data as much as possible?
this is my site’s address: bluewhalefamily.com
- The topic ‘Problem occurred right after I install some themes’ is closed to new replies.