I am getting Fatal Error
-
Hi, I just upload the theme and try to get live preview but I am getting this error
Fatal error: Cannot redeclare has_shortcode() (previously declared in /home/********/public_html/wp-includes/shortcodes.php:157) in /home/******/public_html/wp-content/themes/timeline/functions.php on line 361Any help for this.
-
Is because has_shortcode() is the default existing function in shortcode of wordpress.
This Theme also using the same shortcode has causing a conflicts return fatal error.The functions.php file of the timeline theme at line 361 appears to be calling a function improperly. Did you edit functions.php?
SO, using FTP, rename that theme folder to old-timeline making sure a default unedited theme is in place.
I was updating some details in WordPress and I am quite new to it. I did not know what I did when I got this message: Fatal Error: Call to undefined wp_initial_constants() in /home/ezzilive/public_html/wp-settings.php on line 33.
Now, not only am I not able to access the wp-admin, I cannot even go to my website address and page. The website is http://www.ezziliving.com
Anyone able to help please?
Hi Angeline,
Is because you enabled auto update of wordpress from backend, i think it not get fulfill (I mean updation is not even complete ) so you can try one more updation.Step 1:
Download WordPress 3.9.1 from wordpress.orgStep 2:
Before doing this job take a backup of entire wordpress using ftp. Most important wp-config.php and wp-content folder
then extract the wordpress that you downloaded.Step 3:
Replace files by Upload all the extracted files to the server using ftp.Step 4:
Then try login and check it outIf you are not being able to handle this process or little confuse, then hire developers by posting a job via http://jobs.wordpress.net/
Hope it helps π
Thanks,
vickyPioneer Valley Web Design thank you for your reply, but i did not edit anything, I just upload the theme and trying to preview it.
You will need to gain FTP access and do as I noted if you cannot access and use the admin dashboard. That theme ‘broke’ your site.
@angeline Tan Gek Kim. per forum rules please create a new post for your specific issue. It is unlikely related to the OP’s issue.
http://codex.wordpress.org/Forum_Welcome#Where_To_Post
@viky081, please also then do not provide answers to another who has hijacked a post.@pioneer I can access my ftp, what should I do ?
Regards
@lahorimela
Find this file:
/wp-content/themes/timeline/functions.php
and rename it to say old-functions.php.The conflict should be no longer there, so you should be able to get in to the admin page. The theme will not work as intended. Either go back to where you got it from to ask for help with the error, or consider other themes.
@lorro I change the file name and now I am getting this error.
Fatal error: Call to undefined function of_get_option() in /home/fun301/public_html/wp-content/themes/timeline/header.php on line 37And check my header file there is written on 37 line is
<?php if( of_get_option('active-header', 'no entry' ) == '1'){ ?>What do now? I change the value 1 to 0 but still getting same error.
Are you getting the error only for the theme or any theme you install? Try commenting the line
has_shortcodeand the whole if/when loop thats there and try again.Your second error is due to the fact that you have disabled the theme’s functions.php. You had to do this because of the first error. Your theme install is corrupted.
Your theme has been downloaded by lots of people and has had some positive reviews, so it looks like the problem is specific to your setup, not to the theme.
Using FTP, delete the contents of wp-content/themes/timeline/
Download a fresh copy of timeline. Unpack it on your hard drive and upload the files to the \timeline directory.
If it still fails, there is a conflict with something else, probably one of your plugins. To debug this, rename the directory wp-content/plugins. This will disable all your plugins. Reinstall the plugins one at a time to try to identify the plugin that’s causing the problem.
The topic ‘I am getting Fatal Error’ is closed to new replies.