The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
2answers
331 views

Showing “ Notice: Undefined variable:” and “ Notice: Trying to get property of non-object”

Showing "Undefined variable" and "Trying to get property of non-object" notice when using the following code while($q->have_posts()) : $q->the_post(); $newsbox_post_img_src = ...
0
votes
2answers
296 views

Why is wp-login trying to send an email?

My host sent me the following message: Below are the recently upload scripts that contain code to send email. You may wish to inspect them to ensure they are not sending out SPAM. ...
0
votes
3answers
456 views

Can't activate Plugin: unexpected T_STRING, expecting T_FUNCTION [closed]

I'm writing a plugin but have a problem. I wanted to make an upload form for my existing plugin, so I don't need to upload every picture with the Media Uploader and Copy&Paste the URL in the ...
0
votes
1answer
511 views

Catch own Exceptions

I build some package with my own Exception but when I try to catch a exception I got fatal error: Uncaught exception. This situation is only when method with throw is passed by add_action( 'init', ...
0
votes
2answers
3k views

Warning: Illegal string offset on theme options page [closed]

Im creating custom theme options and Im getting this PHP error: Warning: Illegal string offset in ... on line 75 // adding the page to menu add_menu_page('Theme Options', 'Theme Options', ...
0
votes
1answer
2k views

Getting headers already sent error from plugin

I'm having a bit of trouble with a 'headers already sent' error from a Wordpress plugin I had built for me and now I'm adapting. This is the error: Warning: session_start() ...
0
votes
1answer
598 views

Unable to Upload Images on Local Windows Install

I am having the Famous has failed to upload due to an error Unable to create directory error that soo many people run into. Any search on Google of StackExchange will result is the common, change ...
0
votes
1answer
66 views

I have an error message coming up after I type in my domain. How Do I get my site back

i was informed by a bluehost rep that this is what he see's [03-Apr-2013 06:56:38] PHP Fatal error: Cannot redeclare widget_twidget() (previously declared in ...
0
votes
1answer
27 views

Functions Error: Impacting Galleries

The function below controls an option inside an options panel. What it does is choose the number of posts being displayed in a particular archive (to_count archives, to_count_home, to_count search ...
0
votes
1answer
290 views

How can I restrict php mail() to only send me one email after a db error

I'm in the process of customizing dp-error.php. I'm using the mail() function to alert me when there's a database connection problem on my website. The trouble is, what if 1000 people visit my website ...
0
votes
1answer
681 views

500 Internal Server Error after Register dialog, but with successful registration

I get a 500 Internal Server error if I try to register a new user. This user will be created successfully, but I don't want that my users will see the error page and, therefore, think that something ...
0
votes
1answer
3k views

getting “Object of class WP_Post could not be converted to string” - when it is a string

I have the following code in my functions.php, which executes a script upon publish: function save_new_post($post_ID) { $site_root = '/home/forexmag/public_html/directory2'; $post = ...
0
votes
2answers
476 views

Plugin getting Cannot modify header information errors

I am trying to build my first plugin but am receiving the following error: Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
747 views

Jetpack could not contact wordpress [closed]

I recently created a site and installed Jetpack and activated it, but it gives me the following error: Jetpack could not contact WordPress.com: register_http_request_failed. This usually means ...
0
votes
1answer
266 views

Warning: spl_autoload() [function.spl-autoload] (Term Menu Order)

I'm developing a site and found this error on top of every page of the site: Warning: spl_autoload() [function.spl-autoload]: Unable to access k35r0vc.class.php in ...
0
votes
2answers
833 views

“There doesn't seem to be a wp-config.php file.” despite wp-config.php in root

I've encountered an odd problem and I'm not at all sure how to go about fixing it.. I have a site that was working fine until I changed a page title from "PRESS" to "BLOG." Now, when you visit the ...
0
votes
1answer
222 views

Form Submission Warning: Cannot modify header error only when plugin is deactivated

I have created some custom post forms that I'm now using in place of a plugin called WP User Frontend which allows you to post and edit from front end. These post forms we're working great but when I ...
0
votes
2answers
247 views

anyone can help me to know whats going wrong? [closed]

when posting a comment I got the follow error, Warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /home/... .../wp-includes/functions.php on ...
0
votes
1answer
179 views

PHP if statement works in template files, but not header

This is driving me nuts, and I'm sure that as soon as someone points out the answer, I'm going to feel dumb. I have a website where most pages require login to view. So I am using an if statement to ...
0
votes
2answers
207 views

Headers already sent by

Warning: Cannot modify header information - headers already sent by (output started at /forums/vb/search/searchcontroller/version.php:91) in /wp-includes/functions.php on line 862 I am not sure what ...
0
votes
1answer
3k views

Failed: Filesystem preventing downloads. ( ftpext)

I just move my server to Mac server before I use to be with GOdaddy was no problem updating framework of my theme now I'm getting this error Failed: Filesystem preventing downloads. ( ftpext) not ...
0
votes
1answer
40 views

Blog automatically redirected to error page

I have a blog link. It was loading fine, but now when I open it. It redirects to error page.
0
votes
1answer
371 views

Unsetting post_tag taxonomy breaks term description for other taxonomies

Here's something I can't figure out. I don't need the default post_tag taxonomy, so I'm removing it with this piece of code : function mwm_unregister_taxonomy(){ global $wp_taxonomies; ...
0
votes
2answers
2k views

WP_DEBUG is not set, but I'm still getting warnings

If WP_DEBUG is not set, as I understand it, you should never ever see warnings. But on some sites on some servers, I'm still seeing a few. Not all the warnings that would be displayed if WP_DEBUG was ...
0
votes
2answers
1k views

is_wp_error() and handling errors

Im trying to build a function which grabs the feedburner "readers" using wp_remote_get(). I noticed that it frequently returned a value of 0. I assumed at first that it was a WordPress error ...
0
votes
1answer
353 views

WP-nivo-slider Producing Error “Cannot modify header information - headers already sent by …”

I have installed the wp-nivo-slider and am now getting a list of these errors on my /wp-admin/ page. The error is: Warning: Cannot modify header information - headers already sent by (output started ...
0
votes
3answers
1k views

Creating custom login errors

I want to be able to create custom login errors. For instance if a user visits a restricted area without being logged in then I am redirecting to wp-login.php?ref=access and I would like to output ...
0
votes
2answers
1k views

XML Sitemap Generator can't notify google and bing

I am using wordpress Version 2.9.2 and XML Sitemap Generator 3.2.3 I have registered with Google Webmaster Tools. But I get an error while notifying to Google and I really don't know what it means. ...
0
votes
2answers
212 views

Problem in logging in as admin

When I am trying to login as admin to my site I am redirecting to another unknown page. The login page is pointed to a page-Id2 .I don't understand why it is happened and how to solve it. The links ...
0
votes
1answer
53 views

What might be the reason of Couldn't fetch mysqli_result on another domain?

I'm developing a plugin and it works fine on my Wordpress website, but I've tested it on other domains with different Wordpress instances. When trying to activate the plugin on some other sites and ...
0
votes
1answer
15 views

Theme Check errors of theme code

We are receiving these errors while we check out theme using ThemeCheck. We never seen this before and note sure what they mean or how to solve them. Can anyone so kind to tell us about these and some ...
0
votes
1answer
24 views

How to load script conditionally on custom field in wp_postmeta?

I'm trying to tidy up some of the code that has been doing its job for quite a while. Specifically, I used to load scripts in header.php and I'm trying to move that into functions.php. One of the ...
0
votes
1answer
111 views

SQL Error wp_commentmeta - incorrect table definition

I'm trying to import a database and wonder how I can stop getting the following error? "#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a key " ...
0
votes
1answer
46 views

Problem after updating plugins

So today i updated my plugins, everything went smoothly, but later i found out that my website is messed up. All the custom taxonomies are gone, then one of my plugin disappear somehow. I tried to ...
0
votes
1answer
116 views

Why is_wp_error() is not returning false even there's no defined error

On the form submission I'm taking user comment for a custom purpose for my plugin. I'm checking whether the comment field is empty or not, and the comment field is filled with at least 30 characters. ...
0
votes
1answer
177 views

Angular not defined [closed]

I have this code on my website and I don't know why the angular is not being defined and neither is the jquery. I'm fairly new to web development so I don't know what to do with the coding in order ...
0
votes
1answer
151 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
1answer
37 views

get_term_link() returns correct - But illogical error-messages disturb

I've a really strange issue with Wordpress and the get_the_link()-function and a following issue with objects who are objects, but identified as non-object-error, itself they are working. First the ...
0
votes
1answer
106 views

Child Theme Fatal Error [closed]

I wanted to create a child theme on my new Wordpress site. I followed the instructions on the first part of this site: http://codex.wordpress.org/Child_Themes After doing everything AFTER "How to ...
0
votes
1answer
589 views

“Notice: Undefined variable: content” is showing [closed]

I am using this code if for showing related content form custom taxonomy. But it is showing "Notice: Undefined variable: content" Here is my code: <?php /* Plugin Name: Related Post */ ...
0
votes
1answer
564 views

HTTP error when uploading an image

I know there are already a few posts on this issue, but unfortunately none of those answers were helpful to me. Every time I upload an image, I get an HTTP Error - that's it. Nothing more, no ...
0
votes
1answer
216 views

“Notice: Undefined index:” error when adding new content?

I'm getting the following error... Notice: Undefined index: album_tracks_metabox_nonce in /Applications/MAMP/htdocs/TheToasters/wp-content/themes/Toasters/discography-post-type.php on line 124 ...
0
votes
2answers
38 views

Apparent errer when installing plugin

I have been working on my first plugin (call is myplugin). The path to the plugin code is wp-content/plugins/myplugin/myplugin.php. The myplugin.php file is essentially as follows: <?php ...
0
votes
1answer
781 views

Can't Login to Wordpress, No Data Received Error

I can't login to my Wordpress dashboard. When I go to example.com/wp-admin and enter my info, it returns a page that says "No Data Received: Unable to load this page because the server sent no data." ...
0
votes
1answer
569 views

$wpdb variable throw this error Call to a member function get_results() on a non-object in

I've this error "Call to a member function get_results() on a non-object in" from this code: require_once($_SERVER['DOCUMENT_ROOT'] . $folder . '/wp-config.php'); ...
0
votes
1answer
408 views

How to catch all PHP errors with custom error handler?

I would like to know is there any way to catch all PHP errors (not only WP Errors) in Wordpress without modifying core? The reason I am asking is that I would like to manually catch all errors and ...
0
votes
1answer
80 views

Cannot upgrade to 4.0 - get SSL certificate error

I am not a developer. I have a blog. I don't understand code. I am trying to update my site to 4.0 from 3.5.1 version but kept getting an SSL certificate error. I was told by my hosting service ...
0
votes
1answer
458 views

Notice: Undefined index: error and understanding wordpress

I am trying to create custom post types with wordpress 4. I followed a tutorial book called "Buildin Wordpress Themes From Scratch". I am on localhost so debug mode is on. When I try create a new ...
0
votes
1answer
370 views

Image upload error?

I have searched everywhere for an solution and even though I have found others with similar issues it seems they are not the same. I have a fresh WordPress install and have it setup for multisite. ...
0
votes
1answer
148 views

Plugin can't be activated [closed]

I'm developing a WordPress plugin, but the last changes caused the plugin to stop working. It tells me that I can't activate the plugin because it caused a fatal error. On localhost all is working ...