The tag has no wiki summary.

learn more… | top users | synonyms (1)

-1
votes
0answers
17 views

Parse error: syntax error, unexpected 'if' (T_IF) on line 29 [on hold]

I need to get rid of the following WordPress error Parse error: syntax error, unexpected 'if' (T_IF) in /footer.php on line 29 <?php if(!is_front_page() && !is_single() && ...
0
votes
0answers
8 views

Possible to hide the search engine indexing disabled prompt/error message?

In Wordpress Settings >> Reading (../wp-admin/options-reading.php) there is an option called "Discourage Search Engines from Indexing This Site". If you check this, a notification error message will ...
1
vote
4answers
291 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 ...
3
votes
1answer
1k views

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration

I'm running WordPress on localhost WAMP server and whenever I go to "Plugins" or "Dashboard > Updates" or even to "Dashboard" nothing loads (no WordPress news, no updates, I'm not able to search for ...
0
votes
2answers
399 views

WordPress Redirecting to wp-admin/install.php

Am working on my WordPress site. I changed font color of my site then I have refreshed my page but it redirects to wp-admin/install.php. What can I do now? How can I get access to my site?
-1
votes
0answers
9 views

Google Adword not working [closed]

here are my site details Site URL: http://www.sleeppro.com WC Version: 2.1.12 WC Database Version: 2.1.12 WP Version: 3.9.2 WP Multisite Enabled: No Web Server Info: Apache PHP Version: ...
0
votes
1answer
31 views

How do I set up Debugging?

In my wp-config.php, I have: // Enable WP_DEBUG mode define('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define('WP_DEBUG_LOG', true); // Disable display of errors ...
0
votes
1answer
24 views

Why do I get so many error_log messages related to functions.php? [closed]

I have a couple of WP sites that have been generating huge error_log files recently - 30+ GB. I have been able to configure the server to limit the size of those files so they don't disrupt the ...
2
votes
1answer
119 views

WP Cron and wp_insert_post

I'm trying to insert posts using a cron job, but I keep running into errors where WP is missing functions (is_user_logged_in, wp_get_current_user). Is there a proper way to run wp_insert_post using a ...
0
votes
0answers
12 views

local Wordpress installation with Xampp permalinks issue

I know this question might be asked before but it seems that nothing helped. I have a local Wordpress installation and try to use permalinks. What I did in my XAMPP was to open the conf file and ...
0
votes
0answers
14 views

Wordpress plugin install error [closed]

When I install qtranslate I get following error: Notice: Undefined index: language in /var/www/lawyer/wp-content/plugins/qtranslate/qtranslate_hooks.php on line 51 Notice: Undefined index: in ...
0
votes
0answers
10 views

Notice: Undefined index: translations in …/update.php on line 302

I am getting these error when I move from localhost server to shared server. Any idea on how I can fix this problem? Warning: Invalid argument supplied for foreach() in ...
1
vote
0answers
19 views

Should I use spl_autoload_register() in my plugin?

When I use spl_autoload_register in my plugin, I get: Fatal error: Uncaught exception 'LogicException' with message 'Class wp_atom_server could not be loaded' ...
3
votes
1answer
292 views

Uncaught ReferenceError:switchEditors is not defined

Is anyone familiar with this error? It is causing TinyMCE to break in my Wordpress theme. In console it gives me these two errors both seem to originate from wp-admin/post-new.php Uncaught ...
0
votes
0answers
22 views

Notice: Constant WP_POST_REVISIONS already defined

I made a local clone of a website that's running LIVE in order to safely work offline for a while. On every page of the local version I get a HUGE warning which says Notice: Constant ...
0
votes
2answers
35 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
0answers
30 views

Memory size exhausted when extending WP_Query

I tried to create a class that extends WP_Query, but I got this error: Allowed memory size of 1073741824 bytes exhausted I've increased the memory size in wp-config.php but that doesn't affect. ...
0
votes
1answer
24 views

Disable Debug Log Programmatically

I'm trying to disable WP_DEBUG_LOG if and only if debug.log exists. I'd like to hook into wp_footer and test if the file exists and if so disable my debug log. All I've found though is that ...
3
votes
1answer
483 views

Connection lost. Saving has been disabled… (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
0
votes
1answer
294 views

TypeError: window.tinyMCE.execInstanceCommand is not a function

I can't add any shortcode in my wordpress editor. it shows - TypeError: window.tinyMCE.execInstanceCommand is not a function window.tinyMCE.execInstanceCommand(id, 'mceInsertContent', false, ...
1
vote
2answers
1k views

“Error establishing a database connection” - Intermittent error on GoDaddy

After transferring a working WordPress site to GoDaddy hosting, we've begun getting "Error establishing a database connection" errors on all pages- first intermittently, and now consistently. It's ...
0
votes
0answers
41 views

wp-admin/admin-ajax.php returns 404

www.mysite.com/wp-admin/admin-ajax.php returns error 404 when logged out. www.mysite.com/wp-admin/admin-ajax.php loads a blank page with 0 when LOGGED IN. This is the proper behavior as per ...
0
votes
0answers
34 views

Long query apache error from spam comments

My hosting company recently turned on the error reporting for slow queries in php/apache and we have seen the error logs get flooded with errors all from queries requesting spam comments on the front ...
0
votes
1answer
822 views

wp_handle_upload returns empty error array

I am trying to do an upload via ajax and really dont want to use the regular wordpress media uploader. It is too much stuff and all i want to do is upload single image. I have everything working the ...
0
votes
5answers
1k 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
0answers
35 views

“load-scripts.php” hangs and times out when plupload is requested

I have a perplexing problem with Wordpress. When pages under /admin/ loads "load-scripts.php" with "plupload" as one of the arguments, it hangs for ever. The "Add New Post" page is one such page. For ...
0
votes
2answers
625 views

WordPress database error Got error 28 from storage engine for query

I had been using WordPress for the past three years. I haven't got any errors in the error_log. I think the problem would be cause of the new server my hosting is in. For the last two months i am ...
0
votes
1answer
18 views

Weird Parse Error on Uploaded File

so I'm working on this theme on my localhost, and I just uploaded it to see if it'd work and I'm getting a weird parse error for these lines in my functions.php file. It works fine on my localhost ...
0
votes
1answer
641 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
2answers
59 views

jQuery HoverIntent is not a function

I am working on a site that uses jQuery for a number of functions but I am having a repeating error: hoverIntent is not a function I have referenced similar questions on this forum and they ...
0
votes
1answer
47 views

How do I debug an error that a plugin is causing?

I'm having an issue debugging why the plugin I'm creating keeps displaying the error You need to upgrade your database as soon as possible.... The work I've done so far has been on a remote dev site, ...
0
votes
1answer
341 views

How to use the password_reset hook to validate new password and display error

When a user resets their password via the link in the password reset email, I know I can use the password_reset hook to get the user object and the new password. I want to validate the new password to ...
0
votes
1answer
253 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: ...
-1
votes
3answers
42 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
2answers
3k views

403 Forbidden error nginx

I am getting this error (403 Forbidden error nginx) since couple of days all of the sudden. I have not modified anything on the site yet this error came from nowhere. I can see it on the top of all ...
1
vote
1answer
1k views

How to solve: An error occured in the upload

This error message appears when I try to upload any picture. Currently I am using WordPress 3.8.
0
votes
1answer
31 views

bypassing permission error for a plugin's page

i'm getting "You do not have sufficient permissions to access this page" error when trying to go to a plugin's settings. there's only one user which is the admin and has full access. this is the URL ...
0
votes
1answer
25 views

User Registration Custom Errors

I'm trying to create custom errors when creating a new user. The purpose is to not allow certain usernames such as "admin" from being created. I did run across the registration_errors hook but cannot ...
0
votes
1answer
16 views

Website Loading Very Slow, Each Time Different File Takes Very Long To Load

My website's been very slow lately, and I've been checking my site in some of the response time checker websites. And they show over 20-30 seconds to load my website, so it is very bad right now. The ...
0
votes
1answer
22 views

Costum Theme template directoy url problem

recently i've made a costum wordpress theme , i already made few before but this time i'm really confused about issue: issue is ; in costum theme i'm using this : get_template_directory_uri() to ...
0
votes
0answers
35 views

Network Unreachable error on Google Webmaster Tools at Child-Sitemap

My URL is: http://www.chemicalsubjects.com Hi, I have an issue with my wordpress site sitemap.xml 's some child sitemaps. It sometimes gives an HTTP 503 crawl error: Unreachable network. I think that ...
0
votes
0answers
30 views

Visual editor not working after update

After update wordpress visual editor are blank. I tried disabling all plugins, changing theme to 2014, and cleaning cache in server and pc. (not working)
0
votes
0answers
72 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 ...
0
votes
1answer
40 views

require_once() error after moving Wordpressto another server

I got this type of error after moving Wordpress site to other server. I don't have mistakes in config and dont understand why this error occured? Any suggestions to what might be causing these errors ...
0
votes
0answers
64 views

500 internal server error with wordpress

I always get 500 internal server error when I try to access my wordpress website, but if I put a php.ini (memory-limit:60MB) file in the WP-ADMIN folder, then I can access the site fine., but ...
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 ...
0
votes
1answer
18 views

Unexpected Output: register_activation_hook with namespace

I encounter a weird error while using the register_activation_hook and namespace. The plugin generated 236 characters of unexpected output during activation. If you notice “headers already sent” ...
0
votes
1answer
198 views

Fatal Error wp-settings.php on line 119

Receiving this error 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
0answers
80 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...
-1
votes
1answer
19 views

Language of errors in WordPress admin

How can I change the Wordpress error message language? The language of my WordPress installation is set to Russian. The entire site and the admin panels are in Russian, but the error messages (bad ...