Questions tagged [fatal-error]

A PHP error that causes WordPress execution to abort.

Filter by
Sorted by
Tagged with
1
vote
1answer
3k views

Fatal Error relating to sessions.php

here is the error code I have Warning: Unterminated comment starting line 2079 in /home/teamspor/public_html/wp-includes/user.php on line 2079 Warning: require(/home/teamspor/public_html/wp-...
0
votes
1answer
611 views

Fatal error when accessing Pages in WP admin (and problems editing any pages)

I have a site that's been going for about 4 years with several hundred pages. I've had strange problems when accessing the Pages section (to choose a page for editing) and while in Page editing. These ...
0
votes
1answer
656 views

Fatal error: Call to undefined function reset_mbstring_encoding

I see the message when trying to access wp admin at localhost: Fatal error: Call to undefined function reset_mbstring_encoding() in Z:\home\localhost\www\k-gayduk.ru\wp-includes\class-http.php on ...
0
votes
1answer
212 views

update_usermeta don't work

When I return in the function $setfound, I become a white screen and when I return $setlink, it works fine. function editsteamlink(){ $setlink = $_POST['steamlink']."/?xml=1"; $setresponse = ...
0
votes
0answers
977 views

Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)

I' fetching some information from my website e.g category_name, category_id etc. with wordpress codex and encode them with json. I'm using them in my android application, but today, suddenly, it gave ...
1
vote
0answers
257 views

White screen of death on admin and other dashboard pages

I have created a theme for the first time. but except the public area I cannot access admin by wp-admin. After changing he theme I saved redirected URL of admin which is this -->http://www.tennis-...
0
votes
3answers
2k views

wordpress admin part is not accesbile after server shifting

one of my site's wp-admin is not accesible but the site front part is loading. This happens after i accessed the site from my new server second time. at first nothing happens and i can logg into ...
1
vote
0answers
4k views

fatal error call to undefined function get_header in index.php on line 1‏

I'm really new to WordPress and just started learning watching video tutorials. Whenever i try to load the index.php file from my themes folder it gives a Fatal error: call to undefined function ...
2
votes
1answer
4k views

Call to undefined function get_current_screen() on my localhost

I'm using Wordpress 3.9.1 and I get the Fatal error: Call to undefined function get_current_screen() if I put the following in my funcitons.php or in any file of my theme: $screen = ...
0
votes
2answers
478 views

WSOD 3.9.1 – Tried Everything so far

Hoping someone can help me troubleshoot my White Screen of Death. Site Info: WP 3.9.1 (just upgraded) PHP Version: 5.4 (just upgraded) Single Version Many other installs of WP on this server (with ...
0
votes
1answer
177 views

Error with function in functions.php?

I am using the below function in my custom theme to load posts via AJAX. But for some reason it is breaking the WP ADMIN WIdget Drag and Drop and also showing the White Screen of Death when I uploaded ...
2
votes
1answer
717 views

apache cpu over 70% on localhost

i'm running a number of WP sites on my localhost WAMP on w8. I started to work on a new site, using Sass and Zurb Foundation using this template: http://jointswp.com/. the problem: During my work, ...
1
vote
1answer
2k views

Fatal error: Cannot redeclare when switching themes

I've built a theme from scratch which is named "core". Core has a child theme called "core_child". My child theme works perfectly and only contains the following: /images screenshot.png style.css ...
0
votes
1answer
1k views

Bug in wp_insert_post script and form, probably something simple I am not seeing

OK, I have been working on debugging this script for 2 and a half days now and am coming up empty. Basically, this is a front end form that will insert posts based on the script that I wrote for it at ...
1
vote
3answers
1k views

Can I delete plugin files using FTP?

Due to a PHP upgrade on my server, one of my installed plugins stopped working and throws a fatal error. As I can't login to admin area of the site as a result of the plugin failure I can't uninstall ...
0
votes
1answer
193 views

Fatal error after changes to functions.php, even with original file

Getting Fatal Error: Cannot redeclare theme_feature_setup() message after code changing in the functions.php file. I've tried deleting functions.php file and uploading the previous version but I still ...
0
votes
1answer
115 views

Plugin Breaking Wordpress Login

Two issues with this plugin, please help... 1 My plugin is breaking my /wp-admin to where all I get is a white screen instead of forwarding to the login screen, which is also broken when this is ...
42
votes
4answers
53k views

How to fix empty dashboard issue in WordPress?

A site of my company uses blog on WordPress 3.3.1 with theme based on Twenty Ten. Last week I upgraded Apache and PHP on our production server. Afterwards the dashboard refused to work. When a user ...
3
votes
2answers
8k views

WordPress plugin installation error

I have installed WordPress 3.8 and now I am trying to install WooCommerce - excelling eCommerce 2.0.20 plugin but every time I am getting this error: Note: I am trying to install plugin in local ...
0
votes
1answer
489 views

PHP Fatal Error - $wpdb a non-object?

I'm getting many Fatal errors like this in Wordpress 3.6.1, multisite with Buddypress: PHP Fatal error: Call to a member function suppress_errors() on a non-object in /myblog/wproot/wp-includes/...
0
votes
1answer
482 views

Fatal error with jigoshop and woocommerce

I am using woocommerce on my site. Is jigoshop necessary for the functionality of woocommerce? I deleted the plugin jigoshop from the admin and then some links and pages disappeared (like the shop ...
0
votes
0answers
1k views

Object of class WP_Post could not be converted to string

$comment = get_comment( $comment_id ); $post = get_post( $comment->comment_post_ID ); $author = get_userdata( $post->post_author ); $test = "***" . $comment_id . "***" . $post->ID . "***" ...
0
votes
0answers
997 views

Getting error when using wp_insert_post()

When I use wp_insert_post() I get a white page that says "Are you sure you want to do this?". I get no PHP errors. I am using this outside of wordpress and have wp-load.php as well as /wp-admin/...
0
votes
2answers
389 views

Site Crashes When Updating to WordPress (Version 3.6)

I was just clicking the update button behind in the admin panel. it said no enough space in my hosting. then i went and removed some files and tried again then it was processing the wp update. ...
-1
votes
1answer
53 views

Directing to functions.php the correct way

Right now I'm validating a form on one page, and then sending the results to functions.php to send the form via email. Right now I'm doing the following <?php $our_url = get_template_directory_uri(...
0
votes
2answers
3k views

How to fix 'Call to undefined function do_settings()' error?

I am writing my first plugin and to access/save options I follow codex.wordpress.org/Creating_Options_Pages I basically copied the example from 'See It All Together' in a separate file ...
0
votes
0answers
182 views

A simple form submission but notice : Trying to get property of non-object

after 3 hours... I give up and I request the wordpress developers community. I have to create a contest on a site based on Wordpress. There are 3 steps : user enters his information if all the ...
0
votes
3answers
1k views

Fatal Errors on pluggable.php

I was looking to change the "Wordpress" name in all of my sent mail. In the past I have customized my Wordpress backend to display my desired email. But I have downloaded a new plugin that has altered ...
0
votes
0answers
349 views

WordPress won't display errors at all

I have been having constant issue with WordPress not displaying errors at all and I have no clue what is wrong. PHP errors display on non-wordpress related pages. Debugging is turned on. Display ...
0
votes
1answer
106 views

WP white screen of death after duping a site that works fine on same server

I have simply duped a site that runs absolutely fine on a separate domain into a sub directory of another domain for development purposes. I have zipped the /httpdocs/ directory excluding cache and ...
1
vote
0answers
2k views

Call to undefined function add_menu_page() on theme activation

I am attempting to activate a theme that works perfectly on one WordPress install. I have matched the plugins installed up and copied the theme over but when I go to activate it I get... Fatal error:...
1
vote
4answers
16k views

Pass data from one page to anothe file/page in wordpress

I have my custome theme in wordpress.This is the path of my custome theme. C:\wamp\www\wordpress2\wp-content\themes\sscy1002\sscy1002 I have created a Page in wordpress which contains some form ...
0
votes
1answer
278 views

Fatal error: Cannot redeclare admin_notice() [closed]

I'm writing a plugin, most of my code is wrapped in classes, except for an admin_notice fallback function that I call when I am not loading the main plugin class: class MyClass { //Main plugin ...
1
vote
3answers
320 views

Out of memory error reporting

When users upload very large photos and memory is tight, it seems like Wordpress runs out of memory - fails to resize the uploaded photos and does not create the necessary metadata (...
0
votes
1answer
1k views

Error: Call to a member function get_error_code() on a non-object

I am getting the following error when with the code that I wrote for my plugin: Error: Fatal error: Call to a member function get_error_code() on a non-object in .../wp-login.php on line 335 I've ...
2
votes
9answers
34k views

White screen of death only in wp-admin

I'm able to log into the website but the moment after login, I get a white screen in wp-admin. I can still access the website and it shows that I am logged in with the toolbar at the top of each page ...
0
votes
1answer
6k views

Fatal error: require() [function.require]: Failed opening required in wordpress

My blog has been working fine for months. Today when I tried to open it I got the following errors: Warning: require(/home/dhabitat/public_html/blog/wp-includes/functions.php) [function.require]: ...
1
vote
1answer
3k views

Fatal error: Exception thrown without a stack frame in Unknown on line 0

I'm getting a really cryptic error and I'm not sure where to begin. The site (http://www.petcercise.com/) works fine, but when I attempt to go to /wp-admin/ I get the following error: Fatal error:...
0
votes
1answer
2k views

Plugin won't activate, fatal error (widget class not found)

I've been putting together a simple WordPress plugin that employs a sidebar widget and shortcode. One user has reported the following error when trying to activate the plugin on their local WP ...
8
votes
2answers
9k views

Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067

Hey I get this error messages on my localhost setup, but only with the Genesis Framework enabled; WordPress Twenty Eleven works fine. This happens when I want to create a new post. If I refresh the ...
0
votes
1answer
2k views

After being hacked Fatal error: Call to undefined function get_header() in 404.php on line 1

After having timthumb.php exploited. The site was upgraded to WP 3.5 It was compromised again, (wp-config included encrypted data as well as the functions.php in the wp-include directory. After ...
2
votes
4answers
2k views

Using plugin functionality in external php script not working

I am encountering a strange problem which I couldn't solve so far. I'm calling a .php script via cronjob (Debian/GNU Linux). To use wordpress functionailty I added: define('WP_USE_THEMES', false); ...
0
votes
1answer
249 views

Twitter feed - Failed to open stream [closed]

This works, however I keep getting a failed to open stream every so many random refreshes/page views. I've also tried this code on two different hosts with the same results. I've also tried using ...
2
votes
1answer
10k views

Call to undefined function nocache_headers() [closed]

After updating a 3.4.2 network install to 3.5, I receive Fatal error: Call to undefined function nocache_headers() in /wp-admin/admin.php on line 32 This happens in Chrome, and in Firefox (when I ...
0
votes
1answer
489 views

Cannot access dashboard after upgrading to 3.5

Fatal error: Call to undefined function get_taxonomies_for_attachments() in D:\hosting\10111755\html\wp-admin\menu.php on line 67
3
votes
1answer
7k views

Fatal error: Call to undefined function wp_mail()

I am using a plugin wordpress-simple-paypal-shopping-cart for my cart requirement. I am trying to send an email through this plugin when some payment is made by using IPN. My code : $invoiceProducts ...
3
votes
1answer
2k views

wp-admin blank in a clean install of Wordpress on PHP 5.4 [closed]

A clean install of Wordpress 3.4.2 is giving a blank screen when logging into the admin panel. This is due to the following resources not loading in Chrome: GET /wp-admin/ /wp-admin/:32 GET /wp-...
2
votes
3answers
1k views

Multiple files in a plugin

I'm trying to write a plugin with multiple files. I'm sure I did it before without a problem, but now I have the problem in the subject. In the main plugin file I have included a file name - ydp-...
2
votes
2answers
3k views

Does wordpress have an error log?

I accidentally removed a bunch of plugin folders. I restored them all directly after, but since then my site is completely blank. Can't see anything, it's just white. I'm not sure what to do, but ...
1
vote
2answers
1k views

Twenty Eleven Child theme error when attempting to use a rewritten function

I attempted to make a minor change to a function in the Twenty Eleven theme (wordpress 3.4.2) I get this error message: Fatal error: Cannot redeclare twentyeleven_widgets_init() (previously declared ...