A PHP error that causes WordPress execution to abort.

learn more… | top users | synonyms

0
votes
1answer
551 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
1answer
48 views

Fatal error: Maximum execution time of 60 seconds exceeded in H:\wamp\www\custom\wp-includes\class-wp-http-curl.php

I imported the Theme Unit Test xml file with the wordpress importer. But all of the data is imported as pages. I am following an online tutorial to build a wordpress theme development and I believe ...
1
vote
3answers
667 views

Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561

I dont know how/why this happened. I was working on my site over the weekend and it was fine. When I came into the office this morning, I went to the site and got this: Fatal error: Allowed memory ...
0
votes
0answers
22 views

PHP Fatal error: Cannot redeclare options_general_add_js()

Just updated to wordpress 4.5.2, I'm getting that error when loading the wp-admin/options-general.php page. Here is the stack trace mod_fcgid: stderr: PHP Fatal error: Cannot redeclare ...
1
vote
1answer
2k 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: ...
2
votes
2answers
876 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); ...
2
votes
2answers
742 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 - ...
0
votes
1answer
39 views

Importing demo data in Multisite

I have a multi-purpose theme, which allow to download complete demo site content/wordpress. Normally (www.example.com) it's perfect and run all demo request, last time i install a new wordpress ...
0
votes
0answers
111 views

MyBB 1.8.6 and Wordpress 4.3.1: Error at member.php from myBB

I have the following setup: Wordpress Instance at /var/www/html/mypage MyBB Instance at /var/www/html/mypage/board I am using a WP-Connector from myBB Addons to connect them both. When logging in ...
1
vote
2answers
4k 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
0answers
50 views

wp_insert_post fatal memory error

I am trying to insert a single post via an ajax function with wp_insert_post and I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 ...
0
votes
0answers
44 views

Fatal error: Call to undefined function wc_format_decimal() in class-wc-meta-box-product-data.php on line 996

I Get this error when trying to add a new product. If I refresh the products page, the new product will show up. I can make changes to the product information but the price never updates. It just ...
0
votes
1answer
109 views

Theme Customizer - Javascript (jQuery) update using `.load('file.php')` - Fatal Error: Call to undefined function

MY SETUP (AND CODE) Wordpress Version 4.4.3 (Latest at time of writing) Installed on a local server using XAMPP I am using the WordPress Theme Customizer, and updating settings via Javascript ...
0
votes
0answers
32 views

Fatal Error allowed memory size in post.php

i have this problem with i try update my menu from admin panel Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in ...
1
vote
0answers
151 views

Fatal error: Call to undefined method stdClass::filter() in wp-includes\taxonomy.php on line 805

Hi I just updated my WP site from 3.8.1 to 4.4.1 version (related to this). After update I got this error Fatal error: Call to undefined method stdClass::filter() in ...
0
votes
1answer
21 views

index.php require once errors

This is what the site tells me: Warning: require_once(/public/sites/www.bloemertmachinery.com/admin.php): failed to open stream: No such file or directory in ...
0
votes
1answer
316 views

Fatal error: Uncaught Error: Call to undefined function do_action_ref_array() when using wp_signon function

I am newbee to web development,since last few days i am struggling to login through php code. My PHP code is as follow //my php code @include_once '../wp-includes/user.php'; $creds = array( ...
3
votes
3answers
8k views

PHP Fatal error: Cannot call overloaded function for non-object in wp-includes/capabilities.php [closed]

I have been experiencing too many following errors in my apache logs. PHP Fatal error: Cannot call overloaded function for non-object in wp-includes/capabilities.php on line 1187 This is inside ...
0
votes
1answer
126 views

Allowed memory size exhausted

I need you help here. After updating to WordPress 4.4 locally all was fine ... but after updating on my server I get the following error: Fatal error: Allowed memory size of 41943040 bytes exhausted ...
0
votes
1answer
56 views

Wordpress error on my website

Hey guys I launched a recently built website for my client and everything seemed to be working fine, but recently whenever I try to edit anything, add a new page, delete something, etc. I get a fatal ...
-1
votes
1answer
223 views

Fatal error: Call to undefined function the_archive_title ()

When I click on "Tags, Categories, Archive", this appears on page: Fatal error: Call to undefined function the_archive_title () in ...
0
votes
0answers
71 views

WordPress displays 500 error on PHP errors

For some reason WP is showing a generic 500 Internal Server Error page when I have PHP errors in my code. I have set WP_DEBUG to true, and the following settings in my php.ini file: error_reporting = ...
0
votes
0answers
233 views

my wordpress site showing Out of memory error frequently

I have a WordPress site which is frequently showing out of memory error i have also increased memory in config file define('WP_MEMORY_LIMIT', '384M'); My php info file showing : PHP Version ...
0
votes
2answers
82 views

How to prevent PHP fatal error if plugin hasn't been enabled and a method is called in theme file?

I created a WordPress plugin using OOP. If the plugin hasn't been activated and a method is called in a theme file, it throws the PHP fatal error "call to undefined function". What is the correct way ...
0
votes
1answer
397 views

Fatal Error in \wp-admin\includes\misc.php after failed WP update

I was recently approached by a client whose wordpress site had been hacked. The hack caused traffic from search engines to be hijacked to cuteonbags.com. I narrowed down the malware in question and ...
0
votes
0answers
33 views

Loading custom class in a template

I’m taking a modular approach to building a Wordpress theme. And I’m trying include the class below on more than one of the different php template files that make up my front-page.php. Here’s the ...
0
votes
1answer
66 views

Cannot access my wp-admin after installing Gzip compression [closed]

I have installed a WP Plugin called Gzip Compression to increased the speedpage and had an awful surprised: have no access to the website at all, giving me an error of invalid form of compression, and ...
1
vote
0answers
495 views

I am getting allowed memory exhausted in wp-db.php

Today I checked my error_log and found these errors in it. PHP Fatal error: Allowed memory size of 176160768 bytes exhausted (tried to allocate 5290845 bytes) in ...
0
votes
2answers
395 views

WP_Error with get_category_parents

I get this error in my theme: Catchable fatal error: Object of class WP_Error could not be converted to string in ...
0
votes
1answer
278 views

Using $this from child class inside shortcode function

I am building many custom shortcodes and to off load a lot of reusable code I created an abstract base class for all my shortcodes classes to extend. However when I try to use a reference to $this ...
0
votes
1answer
304 views

PHP error when trying to upload .mp3 files via Media Library [closed]

When I'm trying to upload a sound file (mostly .mp3's) via the media library, I get the following errors: Warning: require(/path/to/website/wp-includes/ID3/getid3.php): failed to open stream: No such ...
1
vote
4answers
5k 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
2answers
1k views

Call to a member function get_error_messages() on null [closed]

I am using the following code for submit custom post by users in a custom page. When i submit form i get this error: Fatal error: Call to a member function get_error_messages() on null in ...
0
votes
0answers
246 views

function get_page_permastruct() on a non-object

global $user_ID; $page['post_type'] = 'page'; $page['post_content'] = "Hello world"; $page['post_parent'] = 0; $page['post_author'] = $user_ID; $page['post_status'] = ...
0
votes
1answer
764 views

“Maximum function nesting level of '100' reached” after adding a new filter

I am trying to filter my post title for a specific page and when a form is submitted on that page , for this I am trying to filter my title . Here is the code function filter_title_after() { ...
0
votes
1answer
75 views

Syntax error in a shortcode function

I'm trying to implement a taboola ad unit in a shortcode function, but I'm getting a syntax error. Below is the function that creates the shortcode. The code is in my functions.php file. Can someone ...
0
votes
2answers
918 views

Fatal error: Call to a member function get_queried_object_id()

I am trying to display shortcode using the following pattern: class callShortCode { function __construct() { global $post; $this->dos($post); } private function ...
0
votes
1answer
764 views

Fatal error: Call to a member function get_page_permastruct() on a non-object

I get this error Fatal error: Call to a member function get_page_permastruct() on a non-object in C:\xampp\htdocs\wordpress\wp-includes\link-template.php on line 358 when i call this function ...
-2
votes
1answer
374 views

Unable to call a Function

I have my blog here Actually Just because of this issue its been 1 year since then my blog is not Uploaded. As soon as I update wordpress It fails to call the Function. <?php ...
0
votes
1answer
322 views

Upgrading to 4.1 fixed parse error

In the past few days I've had reports that users weren't able to access my site. They were just getting a blank page. I checked the error_log and found this. [22-Nov-2014 22:07:41 UTC] PHP Parse ...
0
votes
0answers
256 views

Fatal Error message after trying to add new plugin

I've just tried to install the NextGen plugin and I've got this error message: Fatal error: Call to undefined function set_url_scheme() in ...
2
votes
2answers
23k views

How to fix this this error Fatal error: Call to undefined function…?

Fatal error: Call to undefined function wp() in /home/content/33/7211533/html/someSite/wp-blog-header.php on line 14 can anyone figure whats the problem? I already update the wp-includes and ...
0
votes
1answer
58 views

Changed URl in General Settings now Wordpress site doesnt work

My website URL was www.example.com/singer I decided to get rid of "/singer" in the dashboard and ever since i have met with this error. Fatal error: Call to undefined function wp() in ...
0
votes
1answer
286 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
422 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
0answers
331 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
3answers
239 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 ...
1
vote
0answers
2k 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 ...
0
votes
1answer
1k 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 = ...
1
vote
1answer
298 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, ...