Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [errors]

Not all errors one encounters while working with WordPress are actually caused by WP. When asking about errors be as specific as possible. Just telling which error you get, is usually not enough to help you tracking it down.

0
votes
1answer
14 views

Unable to locate WordPress content directory

I have a website where the home page is created in CodeIgniter (www.myweb.com) and the blogs are created in WordPress as a subdirectory (blog.myweb.com) and is hosted in AWS. I am trying to update the ...
0
votes
3answers
27 views

get_the_content if it contains multiple lines it results in SyntaxError

I use get_the_content to pass to a javascript variable, and then back to another PHP function. This works great, but there is an issue when using get_the_content. If the post contains only one line (...
2
votes
0answers
23 views

Too many datadabse connections - upper ceiling mysql

We run a high traffic blog with around 500 real-time users and 10000 posts. We are hosted by self on VPS - 16gb, 4 core with separate mysql DB server - 4gb, 2 core; both SSD. No problem with hosting ...
0
votes
1answer
12 views

Posts, pages and some images are deleted sometimes

Hello I'm having trouble with this website https://borinqueneers.com/ sometimes it is broken and when I check from the WP Dashboard I notice all of the post and pages are in the trash also some images ...
0
votes
0answers
9 views

reset password error message shows but user can log in

Users who have lost their password click on "lost password" which opens a box for their email address and for them to select "Get New Password". The an error message shows up "Sorry unrecognised ...
0
votes
1answer
18 views

This 2 error shows on wordpress backend please Help

These 2 notices show on the WordPress back-end 1) Notice: Trying to get property of non-object in /home/ry9jeif7ikhf/public_html/wp-includes/link-template.php on line 317 2) Notice: ...
0
votes
0answers
17 views

page error after update, link not changed & link __trashed after recovering page

https://www.zeilschoolhetnieuwemeer.nl/zeilbootverhuur-amsterdam/ This link shows error after update. I cannot find anything wrong with it. Permalink is correct in menu. https://www....
0
votes
1answer
28 views

How to Fix - Invalid Argument Supplied for foreach() in plugin.php [closed]

I have been struggling with this for a while. This only happens when a subcriber wants to login to thier profile. I run a membership website with the Paid Membership pro Plugin. Invalid Argument ...
0
votes
0answers
22 views

Unexpected error when I try to create new post

Everything else seems to be working fine, however I can not create a new post. I get the message and unexpected error has occurred when I try to create a new post. Please help!
0
votes
1answer
10 views

How do I fix the 403 error for wp-admin/admin-ajax.php?

When I use the Safari console, I always get the following notification: failed to load the resource: the server responded with a status of 403 for wp-admin/admin-ajax.php Does anyone know how to ...
0
votes
0answers
27 views

Can't add new post PHP Catchable fatal error: Object of class WP_Term could not be converted to string in wp-includes/taxonomy.php on line 2334

I tried to add new post but this error appear : can't add new post PHP Catchable fatal error: Object of class WP_Term could not be converted to string in wp-includes/taxonomy.php on line 2334
-1
votes
1answer
20 views

Theme causing SSL break on chrome

When visitng my website designopacity.com on firefox no issue appear and it says sight is secure. When visitng on chrome, error message appears saying the websites whose theme im using is unsafe. Is ...
0
votes
0answers
20 views

Deprecated: Function create_function() [closed]

Deprecated: Function create_function() is deprecated in When I enable debug mode in define('WP_DEBUG', true); I’m getting this message both side WordPress dashboard and front-end. I'm using PHP ...
1
vote
1answer
11 views

Strange glyphs code error

Recently I've noticed that just above the web page logo, strange glyphs appeared. What might be the cause? How to get rid of these.
0
votes
0answers
11 views

Random 307 redicrect Problem [closed]

Since two weeks, i'm facing a problem with my website that i never heard before. Everything work perfectly on all support ( desktop and mobile for all browsers ). Than a redirect 307 loop happen to ...
0
votes
0answers
20 views

Call to undefined function wordpress listing_categories

What is wrong with this 2 lines? im getting Call to undefined function fw_ext_extension_get_listing_categories() $categories = fw_ext_extension_get_listing_categories ( $atts['cat'], 'models' ); $...
0
votes
1answer
99 views

“A post type mismatch has been detected” Error when updating custom post

I have started getting this error when updating a custom post type on a clients site. I've never seen this error before and can't find any reference to it in Google search. Can anyone point me in ...
0
votes
0answers
31 views

Change default registration errors

I'm trying to change the Wordpress default errors people see when try to register. I'm trying to remove the wordpress original function and create a new one, using this code, but no effect. Any ...
0
votes
1answer
21 views

Sorry, you are not allowed to access this page dashboard

I changed my DNS nameservers to CloudFlare from my hosting DNS nameservers and when I logged in to my WordPress dashboard it shows an error message "Sorry, you are not allowed to access this page.". ...
0
votes
1answer
68 views

Error “Sorry, you are not allowed to access this page”

I renamed plugins folder, removed unused themes, checked wp_capabilities for my website, It's getting error like below after login page and redirecting to home page.
0
votes
1answer
27 views

error establishing a database connection 3

This error has already been faced by a lot of people, but I could not find an answer in my case. My wordpress website works perfectly in local What I have done: Upload with filezila Create a sql ...
0
votes
0answers
11 views

D_FILE already defined in /home/staneppsjr/public_html/wp-config.php on line 82

( D_FILE already defined in /home/staneppsjr/public_html/wp-config.php on line 82 ) I am not by any means a developer but I am trying my hardest to learn and work on my own websites. This "error ...
0
votes
0answers
17 views

Custom Registration page and Password Verification

I need some help figuring out how wordpress errors work. I hired a developer to code a registration form for my website. However, it doesn't allow users to set their own password, which I want. ...
1
vote
1answer
32 views

WordPress 5 WP REST routes - No errors

I'm using WP JSON to return JSON for certain routes. Prior to WordPress 5, WP JSON would return PHP errors in the response, e.g. Notice:xxx or Warning:xxx when a PHP error was encountered. Since I ...
0
votes
0answers
24 views

Broke my new WordPress site really stupidly and don't know how to get it back. Please help

Had the site in a sub directory called ‘wp’ on a subdomain called new Wanted to get it from sub directory to the root so used this method; https://askwpgirl.com/move-wordpress-from-subdirectory-to-...
0
votes
1answer
18 views

customize.php shows 403 fobidden error in the server

I have hosted my wordpress website in Bigrock.The cutomize option in the admin nav bar showing a 403 forbidden error.Please help me to fix this? Thanks
0
votes
1answer
28 views

Publishing Time - WordPress Plain White Screen with No Error

Publishing Time - WordPress Plain White Screen with No Error. Whenever I try to publish something, WordPress shows the following page with no error. Yes, pages and posts are getting publishing but ...
0
votes
1answer
34 views

How to solve “Updating failed” with 403 Error when trying to save a Site or Post in Gutenberg?

When I try to save my site in the Gutenberg Editor it just says "Updating failed". How to fix that?
2
votes
4answers
63 views

Should messages in WP_Error already be html escaped?

This isn't about what html escaping is or how it's done, but if there's an established best practice about when to do it. I have some utility code in my plugin that may generate a WP_Error based on ...
0
votes
0answers
16 views

Simple Custom Css and JS wordpress plugin not showing all functions

I had moved my website from digital-ocean to go-daddy and now i can see one of my plugin not showing all functions screen shot attached i also tried by deactivating and activating again but not fixed ...
-1
votes
1answer
89 views

The editor has encountered an unexpected error. // TypeError: Cannot read property 'prefix' of null

when I tried to edit a post of a custom post type, I experienced this error. When I press "Copy Error" I am getting this: TypeError: Cannot read property 'prefix' of null at https://example.com/...
0
votes
1answer
36 views

WordPress Admin Dashboard Does Not Display Correctly

I download the wordpress files via ftp software ,after that I install the wordpress , then when I try to access the dashboard display doesn't work correctly , it is shown as links without css so can ...
0
votes
1answer
19 views

Why can't i come back to older working version of php after ugrade with error log on php 7.2 and 7.3

I'm getting locked out of */wp-admin/ there is an error log. Its after changing php 7.2 to php 7.3. The error doesn't disappear even if i go back to php 5.6 where MySQL_connect function exists and is ...
1
vote
1answer
33 views

How To Reset Ownership And Permissions of Wp-Content Folder, In Order to Fix HTTP Error When Uploading Images to WordPress Media Library

I've noticed several articles about how to deal with the HTTP error when uploading images to the WP Media library: How to Fix HTTP Error When Uploading Images? However, I've already tried adding ...
1
vote
2answers
28 views

I need https::/mysite.com instead of https::/mysite.com/wordpress

Now my site is like https::/mysite.com/wordpress If I go to https::/mysite.com I get 403 Forbidden How to fix that?
0
votes
0answers
21 views

Many buttons not functioning in WordPress dashboard (as admin)

I am having issues with many functions in the dashboard of one of my sites. For example, when I try to click on a tab in any of my plugins (e.g. to change settings), it doesn't do anything. Also, when ...
2
votes
1answer
299 views

Showing error “Function create_function() is deprecated”

we are getting a error after updating a php version to 7.2 Deprecated: Function create_function() is deprecated in /customers/3/6/9/vakantiewoning-in-zuid-frankrijk.be/httpd.www/wp-content/themes/...
0
votes
1answer
24 views

Can't get on my own web page

When I try to go to my page this is the error I get. I can't even login it or anything. Fatal error: Cannot redeclare envira_standalone_get_slug() (previously declared in /homepages/15/d628531438/...
0
votes
0answers
22 views

Apache ERR_CONNECTION_REFUSED on Ubuntu with php enabled

Context: I'm trying to copy my Wordpress - WP site locally on Ubuntu. I'm using Vagrant with a Virtualbox - VB. A Lamp stack is installed in the VB with Apache/2.4.29, Ubuntu 18.04.1 LTS and PHP 7.2. ...
0
votes
0answers
96 views

Error after 5.0.2 Update wp-pollyfill [duplicate]

After updating to the latest version of wordpress i get a Syntax Error missing ) as seen on the image below because the script that is printed in the head of admin pages is printing ' & " wrong ...
0
votes
0answers
28 views

“wordpress error in establishing database connection” and missing tables

I received this message when trying to enter any page of the site, wp-admin included. "wordpress error in establishing database connection" It also says that some table may be missing, and I ...
0
votes
0answers
30 views

Problem with call_user_func_array front end

This is the error im currently getting, fixed the other minor ones but this one seems to be a compatibility issue. is there any way i can change a few lines of code to fix this issue, Any help would ...
0
votes
2answers
130 views

404 Not found error after update to WordPress 5.0

I have a WordPress website which was working good before WordPress 5.0. after update to WordPress 5.0 I get an 404 error on loading resources. style.min-rtl.css:1 Failed to load resource: the server ...
0
votes
1answer
67 views

Array to string conversion error in PHP 7.2 when returning user role as class

Disclaimer: I'm rubbish at PHP, so please bear with me as I'm still learning. I'm getting the PHP error Array to string conversion for the following code: function osu_add_role_to_body($classes = '') ...
0
votes
0answers
21 views

Wordpress database error only while loading page for 1st time

I have this error when i open the page...but once i select the city from dropdown list,the error doesn't exist. Error is like this: WordPress database error: [You have an error in your SQL syntax; ...
0
votes
1answer
16 views

Getting an empty space in up sell items

I have the current version of wp, and I'm using the tailor theme, and I have my up sell section set up so items show up. However, if an item is out of stock, it creates a random empty space instead of ...
0
votes
0answers
17 views

Custom Plugin activation error in Multisite

I have created one custom plugin but when i try to Network Active in multisite its generate error like below But when i install plugin from individual admin its successfully activated. Any help is ...
0
votes
1answer
41 views

how do i fix these errors my debug log gave me?

Hi i have a strange loading issue with my website, this is what my debug log just gave me. How do i fix these errors? [11-Dec-2018 20:25:26 UTC] PHP Warning: Illegal string offset 'http_code' in ...
0
votes
0answers
17 views

ERR EMPTY RESPOSNE on ajax delete request in wordpress

I am trying to delete a post with REST api endpoint. evry thing is working fine on local. but on live(000webhost server) its giving error with no response text. http://mylivesite/wp-json/university/...
0
votes
0answers
60 views

“Conditional query tags do not work before the query is run. Before > then, they always return false. ”

I'm getting the following error Notice: is_tax was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging ...