The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
2answers
530 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 ...
1
vote
1answer
35 views

Suspicious mesage appears instead of images

My installation is of Multisite setup . when I upload an image and try to view it, getting a message 'go home baby!!' instead of image Actually the specific sub-site is also mapped with a custom ...
1
vote
1answer
289 views

Trailing slash results in an error:

On my website, any trailing slash is resulting in an error. How do I fix this? Example: http://example.com/content - no error http://example.com/content/ - error
1
vote
2answers
848 views

“Apache HTTP Service has stopped working” with WP Query in WordPress 2.9.2

When my script runs the 4th line below in WP 2.9.2, its causing my web app to throw an "Apache HTTP Service has stopped working" error $cat=get_cat_ID('top-menu'); $catHidden=get_cat_ID('hidden'); ...
1
vote
4answers
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
4answers
315 views

Error after moving WordPress installation

I am trying to move a WordPress site to a new server, but I cannot get it up and running on my local server (running XAMPP). The site is running perfectly fine, but when I download the files, export ...
0
votes
2answers
971 views

Wordpress: Notice:Object of class WP_Query could not be converted to int in on line

I am facing issue in debug mode with wordpress. In my featured slider getting error Notice: Object of class WP_Query could not be converted to int in on line I am using below code for my slider ...
0
votes
2answers
314 views

Remove Menu Page Giving Error

I have a snippet of code I've written in the functions.php file which is simply to remove menu pages if the user cannot activate plugins. It works as intended; however it is showing a PHP error in ...
0
votes
1answer
3k views

get_terms return errors

Hi when i try to get_terms(); in theme options via this code $catalogs_terms = get_terms( 'catalogs' ); $mycatalogs = array( -1 => 'Select a catalog' ); if ( $catalogs_terms ) { ...
0
votes
5answers
2k views

New Wordpress Error Message - Not seen this before

I've just seen a new error message on one of my Wordpress sites that I've not come across before. "This request has been denied for security reasons. If you believe this was in error, please contact ...
0
votes
2answers
565 views

Why am I getting a “Call to undefined function curl_init()” when I try to use the Sociable plugin?

I have a wordpress blog at http://www.1000irritatingthings.com I had the sociable plugin working for a while, but now when I try to configure it, I get the following error in the admin panel when I ...
0
votes
4answers
565 views

Problem with running javascript in a shortcode

I am trying to create this plugin for my site that will allow create short codes to pull data from the iTunes Search SDK. I already have the iTunes Search SDK javascript plugin working that pulls the ...
0
votes
2answers
639 views

Front end empty (i.e. nothing displays); Back end looks fine; What are possible causes?

My customer's site was working last night. Today nothing displays from the front end. Firebug gives as the contents of the home page. I logged in. The back end looks fine. The most recent post (added ...
0
votes
1answer
128 views

What do these phpMyAdmin errors mean on my WordPress databaes?

I'm getting 3 very similar phpMyAdmin errors on one of my WordPress databases. More than one INDEX key was created for column `comment_approved` More than one FULLTEXT key was created for column ...
0
votes
1answer
28 views

Connecting to a 2nd DB gives me no results when querying

I'm trying to access a different DB on the same localhost as my wp db is and I did this like so: functions.php: add_action('init','my_new_db'); function my_new_db(){ $newdb = new wpdb( 'test', ...
0
votes
1answer
344 views

Wp_update_post: Infinite loop even with remove_action solution, OOP

I have a quite complex PHP class, reponsible for creating and printing meta_boxes, generating and saving meta fields, ... Each meta_box (object of class) has its own save function, that updates meta ...
0
votes
1answer
280 views

after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()

after wordpress update to 3.5+ i get many errors in this plugin. i found that the reason is: http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/ I do not ...
0
votes
1answer
2k 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
406 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
5k views

What log files does a WordPress installation write to?

When tracking down WordPress problems, I've had a hard time finding where WordPress sends errors to. Where does WordPress send errors by default? Are there multiple files that different kinds of ...
0
votes
2answers
506 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
3answers
1k views

500 error after update

I had a working (test) blog, and during an update from 3.2.1 to 3.3.1 - something went wrong , I think the update did not finished.. Just before the Update, I have enabled a new theme (all functions ...
0
votes
1answer
138 views

Moving to another server database connection error [closed]

I have some issues when I try to move it on other server. This are the steps: I go into my actual database through phpmyadmin, export the database. I copy the entire folder of my wordpress website ...
0
votes
1answer
274 views

Error establishing a database connection error on a site that was working fine previously

A site that was working fine previously is now getting an error, Error establishing a database connection I have dealt with this error while creating new wordpress sites(when there was something ...
0
votes
5answers
836 views

Errors in Add Image Popup, Media Library Tab: “in_array() expects parameter 2 to be array, null given in wp-includes/query.php”

I am getting errors like Warning: explode() expects parameter 2 to be string, array given in /data/www/ae/wp-includes/query.php on line 2390 Warning: in_array() expects parameter 2 to be array, null ...
0
votes
1answer
44 views

help with my wordpress website

I cannot get into my website.. i was downloading a plugin for simple tags and now everytime i try to log or look at my website i get: Fatal error: Call to undefined function register_importer() in ...
0
votes
1answer
265 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
481 views

Special Character Appearing in my WordPress Pages Content

Can somebody please assist as to why I am getting the following special character � in my WordPress content pages. Not sure how it got in there. You can see this special character at this url: PPS ...
0
votes
2answers
890 views

Warning: urlencode() expects parameter 1 to be string, array given in and not getting the preffered output

Warning: urlencode() expects parameter 1 to be string, array given in D:\xamppp\htdocs\sample\wp-includes\formatting.php on line 3690 When I try to give the category_name in the query_post, ...
0
votes
2answers
217 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
158 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
178 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
242 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
2k 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
44 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
25 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
252 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
631 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
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 = ...
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 ...
0
votes
2answers
424 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
630 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
253 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
776 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
181 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
242 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
170 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
201 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 ...