The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
123 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
36 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
24 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
165 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
512 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
1k 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
358 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
412 views

Jetpack could not contact wordpress

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
318 views

How to use add_settings_error in register_setting callback

public function database_name_check($input){ //debug add_settings_error('notice', 'lol', 'lol'); if($this->wpdb->get_var($this->wpdb->prepare('SHOW DATABASES LIKE %s', $input)) ...
0
votes
1answer
210 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
2k views

In big trouble - Allowed memory size of 268435456 bytes exhausted

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81 bytes) in /home/public_html/hol/wp-includes/meta.php on line 571 I'm receiving this error when I try to log into ...
0
votes
2answers
493 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
141 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
215 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
712 views

Custom query, works, but I get a “Notice: Undefined offset: 0…”

My custom query works, but in debugging mode I get this error: Notice: Undefined offset: 0 in /storage/content/24/150624/mydomain.com/public_html/wp/mysite/wp-includes/query.php on line 2232 This ...
0
votes
1answer
141 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
329 views

debugging errors.. how to remedy?

I had trouble accessing wp-login.php, so I changed the name of the theme I'm developing to force WP to switch to default. I then turned on debugging and received the errors below. I'm a little puzzled ...
0
votes
2answers
183 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
2k 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
39 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
287 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
1answer
149 views

Force plugin to fail activation

I'm writing a plugin that will be using custom fields added by a theme. Because of this, it would be ideal if my plugin not be able to activate should these fields not exist. How do I go about ...
0
votes
2answers
530 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
666 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
2k views

Getting the warning: Missing argument 2 for manage_posts_custom_column()?

I created a custom post type, two custom taxonomies and displayed them in the 'manage post section, but I'm getting the following warning: Warning: Missing argument 2 for ...
0
votes
1answer
337 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
1answer
3k views

Wordpress home page doesn't work, but other pages do. How to rectify?

http://blog.sanspace.in/ My blog home page is messed up. None of the plugins or sidebar widgets are working. Only the latest post is showed that too partially. However, other pages and posts ...
0
votes
2answers
6k views

Get PHP Fatal error on globalized $wpdb: Call to a member function insert() on a non-object- I have no clue. What to do?

I am trying to utilize this function. I cannot figure out why I am still getting the PHP error. All I can figure out is that for some reason the template isn't able to access $wpdb. I don't know ...
0
votes
1answer
258 views

Remove problem PHP code entered into footer via Theme

A friend of mine has a WordPress site using the Theisis theme. Recently he added a bit of problematic PHP code to the footer via the Theme (not into a PHP file). The PHP code is erroring out causing ...
0
votes
2answers
881 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
209 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
12 views

Object of class WP_Error could not be converted to string

After deleting some categories (shouldn't have done this), I get the following error Catchable fatal error: Object of class WP_Error could not be converted to string in [FILENAME] on line 45 ...
0
votes
2answers
50 views

Headers already sent in Pluggable.php / homepage and wp-login error

After migrating site to another account on same host, I started to receives strange errors. Firstly I encountered an error where at the login page I was asked to turn on Cookies. And after I deleted ...
0
votes
2answers
122 views

wp_enqueue_script was called incorrectly

Hello I don't know how but now I am getting this error Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, ...
0
votes
1answer
42 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
1answer
40 views

Custom Post Type and Breadcrumbs Conflict

I have a custom post type. It seems the breadcrumbs have an extra space for a parent page (which does not exist) inserted. You can see this in the image I attached. What is happening with theis ...
0
votes
1answer
26 views

Error when setting cookie

I get this error when trying to set a cookie on a WP page. Warning: Cannot modify header information - headers already sent by(...) Any help here? It worked fine when I did the php outside of ...
0
votes
1answer
71 views

add_sub_menu page() to be replaced by add_theme_page()

While checking my theme with theme-check plugin, i found few errors which are listed below along with the line of codes where it displays those errors(REQUIRED:) to be fixed. REQUIRED: ...
0
votes
2answers
42 views

Removed plugin generating error message

I kinda did something stupid. To test something I created a couple of plugins and during testing I think I renamed the plugin. Now I deleted the plugins but I'm still getting an error message saying ...
0
votes
1answer
526 views

WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]

after wordpress update to 3.5+ i get error in this plugin. I do not understand how to fix it. If anyone can help me with these problem or give me an example of how to fix it here is the full code of ...
0
votes
1answer
729 views

Customize WooCommerce Error Message

I would like to change the wording of an error message I see in WooCommerce. Are there any filters I can use to do this?
0
votes
2answers
70 views

Parse error:syntax error [closed]

I'm new to Wordpress. I'm trying to create a Wordpress theme. But i am getting the error: Parse error: syntax error, unexpected 'meta' (T_STRING) in ...
0
votes
1answer
94 views

Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”

My custom post type have a meta box that is listing another custom post types in its meta box. And it is causing error each time I try to publish a post with that custom post type. It is always bring ...
0
votes
1answer
188 views

@file_get_contents and wp_remote_get

$content = json_decode(@file_get_contents($query)); what correctly replacement for @file_get_contents in this string? if i just replace @file_get_contents for @wp_remote_get i get error Warning: ...
0
votes
1answer
490 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
49 views

Fatal Error wp-settings.php on line 119

receiving this message after a post update: Warning: require(/home/thomwhite/wparch.com/wp-includes/post-template.php) [function.require]: failed to open stream: Permission denied in ...
0
votes
1answer
70 views

Form Post results in 404 Not Found [duplicate]

I am creating a POST-able form on the front-end of Wordpress (via a shortcode). If I submit this form without any input, the form submits fine. But as soon as I enter an data in the fields and POST ...
0
votes
1answer
282 views

418 header status, I'm a teapot [closed]

I'm just backing up a clients via ftp site prior to working on it, when suddenly all urls are returning an error page with the header status being 418. A quick Google finds that this was created for ...
0
votes
1answer
53 views

Why do these errors appear on my wordpress site? [closed]

On my /wp-admin/ page I get this error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'mytheme_admin_bar_render' not found or invalid function name in ...
0
votes
1answer
133 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 ...