Try to access your functions.php file in the theme
and remove the line that says
add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’);
It is best if you can restore a backup of functions.php file.
If the issue persists, try replacing the
wp-includes/pluggable.php
file with a fresh copy downloaded from
http://wordpress.org/download/
Thanks Ravi.
I’ve tried erasing
add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’);
However then I am left with another message that tells me it is a “fatal error”.
I’m going to try and download the pluggable.php now.
This is the main issue:
When I modify the functions.php file by deleting the rogue code, once I click Update File I’m then taken to a blank page with this message:
Warning: Cannot modify header information – headers already sent by (output started at /home/gandrew_oliver/deddog.com/wp-content/themes/risen/functions.php:2) in /home/gandrew_oliver/deddog.com/wp-includes/pluggable.php on line 896
Every attempt to delete the rogue code results in the same message on a blank screen:
add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’);
Warning: Cannot modify header information – headers already sent by (output started at /home/gandrew_oliver/deddog.com/wp-content/themes/risen/includes/files.php:2) in /home/gandrew_oliver/deddog.com/wp-includes/pluggable.php on line 896
I’ve used CyberDuck to access the FTP however I am confronted with the same issue: rogue code is deleted yet I am brought to the same page.
Still requesting assistance with this. Thanks.
You can try using your ftp client to rename the risen theme folder, then clear your browser cache and revisit your site at www.deddog.com/wp-admin
or /wp-login.php
When you log back in, the default WordPress theme should take over, and that should allow you to sort out the issues with the risen theme.
I’ve tried erasing
add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’);
However then I am left with another message that tells me it is a “fatal error”.
If you can’t undo the edit without damaging the file it’s been placed in, you may need to replace just that file with a copy from your last backup, or from the original theme download. Risen is a commercial theme, so if you need a new copy you will need to go through whatever channel you purchased it from.
This is a bit beyond my expertise here. I need this adjustment done fast since we are experiencing traffic everyday. Resetting the theme would mean reverting back to the original Risen qualities- which is a website for Christian camps. I need this change to be done very fast…
Is it possible to hire someone to complete this for me?
This is a commercial theme that includes support for customers. Please submit a support request: http://themeforest.net/item/risen-church-wordpress-theme-responsive/2632774/support
The easiest solution is to re-install the theme (delete or rename it via FTP to deactivate it first). Modifications should never be made directly to the theme files. You should use a child theme instead. The version of the theme you are using is almost two years old. Use the newest version of the theme when re-installing it.
@oliver.athabasca
I tried to add a TripAdvisor link to the page that has destroyed the back-end code.
If that’s the only edit that has ever been made in that particular file, just replace that file only, with a copy of the same file from your last backup.