A PHP error that causes WordPress execution to abort.

learn more… | top users | synonyms

0
votes
1answer
24 views

PHP Helper Class to create shortcodes

I created a helper class to extend other classes for shortcodes. When I try to use $this in the add_shortcode() function I'm getting this error: Using $this when not in object context How can I ...
0
votes
1answer
570 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 ...
-2
votes
0answers
13 views

Fatal Error conflict with Vafpress framework when plugins activated together

Couldn't find anything related on Vafpress, and the plugin authors say they can't fix or won't respond. I'm using the following two plugins: https://wordpress.org/support/plugin/woo-product-gallery-...
-3
votes
0answers
13 views

Getting call undefined function error

Im using Membership WPMU DEV for my site last five years, today i got this error from my functions.php file Fatal error: Call to undefined function current_user_on_level() in this function defined ...
0
votes
1answer
407 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 ...
-3
votes
0answers
27 views

saving NAV-MENU triggers “Fatal error: Allowed memory size XXXX exhausted”

in One of my sites, happens unusual things(it didnt happen before) i am unable too change nav-menu. after clicking SAVE, it triggers the error Fatal error: Allowed memory size of 268435456 bytes ...
2
votes
2answers
773 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-...
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: require(/home/teamspor/public_html/wp-...
2
votes
2answers
912 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); ...
1
vote
4answers
6k 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 ...
1
vote
2answers
291 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
689 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
48 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
1answer
60 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
127 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 ...
2
votes
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
62 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
1answer
137 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 (...
1
vote
0answers
292 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 D:\wamp\www\mysite\wp-...
0
votes
1answer
23 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 /public/sites/www....
0
votes
1answer
405 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
164 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
57 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
287 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 /home/u932610063/public_html/wp-content/themes/powen-lite/...
0
votes
0answers
76 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
2answers
89 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
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
75 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 ...
0
votes
2answers
404 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 /home/winentra/public_html/s1.ssonline.co.in/wp-content/themes/peekaboo/admin/...
0
votes
1answer
310 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
337 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 ...
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 D:\...
0
votes
0answers
260 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
858 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
78 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
1k 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 dos($...
0
votes
1answer
877 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
387 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 setPostViews(...
0
votes
1answer
323 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
265 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 /var/sites/o/operationturtledove.org/public_html/wp-content/...
2
votes
2answers
25k 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 wp-...
0
votes
1answer
59 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 /data/15/3/...
0
votes
1answer
300 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
437 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
344 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
247 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
310 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, ...