A PHP error that causes WordPress execution to abort.

learn more… | top users | synonyms

2
votes
2answers
880 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
743 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 - ...
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: ...
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, ...
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
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
321 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( ...
0
votes
1answer
127 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 ...
0
votes
1answer
398 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
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
289 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
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 ...
0
votes
1answer
243 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 ...
-1
votes
1answer
224 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 ...
-1
votes
1answer
41 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 = ...
-2
votes
1answer
932 views

Error loading require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );

I manually installed wordpress and added elegant theme DIVI . The functions won't work because I get this error Warning: ...
-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 ...
1
vote
0answers
156 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 ...
1
vote
0answers
496 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 ...
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
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 ...
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
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 ...
0
votes
0answers
72 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
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 ...
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
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
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 ...
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 ...
0
votes
0answers
710 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
157 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
0answers
854 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 ...