The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
2k 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 = ...
1
vote
1answer
698 views

redirect loop to page, can't find origin, can't remove [closed]

I have a new client who did "something, I can't remember what" to her blog. Now when you visit the home page, it redirects to a page she created and deleted, "/road-maps/". I have no idea why it ...
1
vote
1answer
402 views

How to include error message on login

I am a novice with php, so I need help with this one. Please bear with me. I want to include an error message on the wp_login.php page when visitors are redirected from a "user only/logged in" page. ...
1
vote
1answer
762 views

Error: options page not found

This error is really well known and every where I look its either I am not doing: <form method="post" action="options.php"> or I am not registering my options, which is not the case as seen ...
0
votes
1answer
354 views

Error when activating child theme: `failed to open stream: No such file or directory`

I get the following error message on wamp after I activated my child theme. what am I doing wrong? Warning: include(C:\wamp\apps\test/wp-content/themes/test/functions/options-panel/customizer.php) ...
0
votes
3answers
874 views

Wordpress white screen with word 'error' [closed]

I am getting a white screen that just says 'error' on it. I have removed all plugins, re-installed the theme and also re-installed wordpress. The website will work fine when going to the homepage, ...
1
vote
0answers
423 views

Single Multisite Signup Page [closed]

I'm trying to turn the WordPress multsite signup page into a one step process instead of two. I'm wanting people to choose their username, email, password and a confirmation of their password, along ...
1
vote
1answer
4k views

How to display error messages using WP_Error class?

I have registration form code in my functions.php file like this if ('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == 'registration') { ...
2
votes
0answers
107 views

Continue javascript execution when errors occurs [duplicate]

I use the WP native function wp_enqueue_script() for all my JavaScripts loading both in WP front and back-end so it can handle duplicated calls to the same script and so on. One of the issues is that ...
0
votes
1answer
130 views

W3 Total Cache “Preview mode could not be disabled” [closed]

I receive the message: Preview mode could not be disabled. Please run chmod 777 /wp-content/w3-total-cache-config-preview.php to make the configuration file write-able, then try again. I ...
0
votes
1answer
31 views

Twenty Eleven theme-options error

I was trying to add Google Analytics and added it to the theme-option page by accident when I went to remove the added info I received the following error. Parse error: syntax error, unexpected ...
0
votes
2answers
2k 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 twentyeleven works fine. This does happen when i want to create a new post. If i refresh the ...
-2
votes
1answer
358 views

Photocrati Theme Issue

I have a WordPress site using the Photocrati theme. When I attempt to use the "New Photocrati Gallery/Album" button in any page or post editor I get [an error occurred while processing this ...
2
votes
3answers
5k views

Troubleshooting a “You do not have sufficient permissions to access this page” error

I have a multisite installation running WP 3.5. My main site and a few other blogs on the network work fine. However, if I register a new user and site, that user gets the "You do not have sufficient ...
0
votes
2answers
404 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 ...
1
vote
1answer
7k views

Receiving “This content cannot be displayed in a frame” error on login page

I am using a new domain for my WordPress directory in different server. When I click the meta links such "Login" or "register", I get this page: This content cannot be displayed in a frame To ...
0
votes
1answer
587 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
33 views

My wordpress site must be being affected by outside sources [duplicate]

Possible Duplicate: Error 310 too many redirects after switching domains Some of my pages are resulting in 310 errors. We recently switched domains from kgstiles.com to ...
0
votes
1answer
1k views

Error 310 too many redirects after switching domains

I'm at a loss here. My site is http://www.kgstiles.com and about 70% of my pages now result in a 310 error. There doesn't seem to be any pattern to the error, but one thing I thought was interesting: ...
0
votes
1answer
65 views

How can I fix this code [duplicate]

Possible Duplicate: Stackoverflow type of badge plugin giving warnings in Wordpress 3.5 I'm getting an error on my site that says: Warning: Missing argument 2 for wpdb::prepare(), called ...
1
vote
1answer
655 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)) ...
1
vote
2answers
146 views

WordPress settings API error when checkbox unchecked

I am trying to creating some custom options for a template I am developing but I am getting an error when the checkbox (Line 130) is unchecked: Warning: Illegal string offset 'show_admin_dev' in ...
0
votes
1answer
249 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
1answer
1k views

HTTP Error when uploading images over specific dimensions

Hello I have a reseller account with one wp 3.5 multisite on a shared hosting. Suddenly I can't upload photos after some random dimensions(It uploads the small sized ones just fine, but it has ...
0
votes
1answer
315 views

Error when installing theme - “failed to open stream: No such file or directory in…”

I'm trying to upload and install a custom theme, and have encountered an error I've not seen before. Warning: ...
3
votes
1answer
517 views

$wpdb->prepare() warning in WordPress 3.5

I am receiving this warning when I try to run a database query: Warning: Missing argument 2 for wpdb::prepare() The offending query is: $result = $wpdb->get_var( $wpdb->prepare( ...
-1
votes
1answer
135 views

undefined index [closed]

I upgraded to the latest version of WordPress and now for some reason when I go to the menus page and it only seems to happen there, I get an error saying Notice: Undefined index: eventmeta_noncename ...
0
votes
2answers
385 views

PHP Notice error (when on 404 page)

I have a 404.php template for my theme. I also have WP_DEBUG in wp-config.php set to TRUE. Consider this 404 template: get_header(); ?> <div id="content" style="full-width"> <div ...
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
1answer
694 views

HTTP Error 403 When Trying to Login

I'm currently trying to log into a WordPress website, which I downloaded off the virtual server, now in my local server (MAMP, because I'm on a Mac machine). When I try and log into the backend, it ...
0
votes
2answers
755 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
129 views

Changing search terms results a 403 - dsIDXpress Pro plugin [closed]

I face an issue with the dsIDXpress Pro SEARCH. Everytime I try to change the search terms the site gives a 403 error. http://lagunaagent.com/idx/city/laguna-niguel/ From the error.log [Wed Nov 07 ...
-1
votes
2answers
85 views

Receiving error with Custom Tables plugin

How to resolve this warning which is shown when I use the Custom Tables plugin? Can anybody help me please Warning: Invalid argument supplied for foreach() in ...
1
vote
1answer
736 views

Error handling a plugin with exceptions

I'm creating a new plugin and I want to handle errors cleanly. I find the WP_Error class unwieldy so have decided to use exceptions. I am not bothered about lack of PHP 4 support. $error = true; ...
0
votes
1answer
149 views

Custom menu linking to page not found

I have built a series of pages and sub pages in wordpress. Then, using custom menus with 5 x top level menus and then sub-menus under 3 of these top level menus: Menu 1 Menu 2 - Sub Menu 1 - Sub ...
2
votes
1answer
2k views

Setting 404 page in Nginx

I am using this page (http://wiki.nginx.org/WordPress) to setup my WordPress on a nginx/php-fpm server. Everything is okay, except the 404 page When I request www.example.com/foo, it send me the ...
1
vote
2answers
2k views

Does wordpress have an error log?

I accidentally removed a bunch of plugin folders. I restored them all directly after, but since then my site is completely blank. Can't see anything, it's just white. I'm not sure what to do, but ...
3
votes
3answers
2k views

Undefined property: stdClass::$labels in general-template.php post_type_archive_title()

I've got a custom post type with a standard tag taxonomy added to it like so: 'taxonomies' => array('post_tag'). I've added some tags to some posts of this CPT which are display on the front-end ...
0
votes
1answer
114 views

JQuery Issues With Wordpress Theme Interface

I'm having a back-end script issue with a recently installed theme. I took it up with the theme developer, but they are of no help (that's another story for another time). I apologize if this is ...
1
vote
2answers
397 views

What does this error mean? WordPress database error: [MySQL server has gone away]

WordPress database error: [MySQL server has gone away] I did not make any changes, and the host says that there is no problem with MySQL. Can anyone explain what the error means? and how to ...
1
vote
5answers
963 views

Moving WP from local server to live, error establishing a db connection

Not sure what's going on here 'cos I've done it already a couple of times and it always worked. Basically I'm moving a testing site from my local machine (MAMP) to a live server by: zipping the ...
1
vote
3answers
2k views

Trying to get property of non-object in wp-includes/capabilities.php

Once a minute I get the following notice sequence in debug.log: [23-Oct-2012 13:27:33 UTC] PHP Notice: Trying to get property of non-object in mysite/wp-includes/capabilities.php on line 1022 ...
1
vote
1answer
1k views

echo do_shortcode is not working on theme's template

I don't know whats causing the problem but the echo do_shortcode is not working on my theme's template, but its working on my plugin's template and the shortcode is working on my posts and pages. ...
0
votes
1answer
530 views

White Blank Page when Updating and Publishing Page/Post

I have a serious problem here, every time I publish and update a page/post it displays a white blank page.. here I don't know how to fix it.. is there anyone that can help me? Thanks :)
5
votes
1answer
976 views

Hide php Notices in Dashboard

When I program a theme, I put WP-DEBUG on. Which ensure a proper PHP code. Sadly most Plugin developers keeps using non existing vars : echo $args['title']; Notice: Undefined index: title in ...
0
votes
2answers
1k views

Show errors on custom login form [duplicate]

Possible Duplicate: How to show 'login error' and 'lost password' on my template page? I've created a custom login form in a template page using the basic wp_login_form. I'm ...
0
votes
2answers
3k views

Why I am having error Call to undefined function get_header()?

I am using twenty eleven for my theme and I create a PHP page under it named results.php in the results.php here's my code: <?php get_header(); ?> <?php get_footer(); ?> From my ...
1
vote
0answers
101 views

Firing a function AFTER redirect

I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
0
votes
1answer
427 views

WP_Error message

PHP Notice: Object of class WP_Error could not be converted to int in /var/www/vhosts/hayhauler.co/httpdocs/wp-includes/functions.php on line 2568, referer: http://hayhauler.co/ I'm not even sure ...
0
votes
1answer
150 views

409 error (Conflict) when trying to insert an image into a post

I've uploaded a Wordpress site to the live server and I get this error whenever I try to insert an image into a post: Conflict The server encountered an internal error or misconfiguration ...