In your wp-config.php
look for the line reading:
define( 'WP_DEBUG', false );
(This is set to false by default, if you’re troubleshooting it may be set to true on your install)
After it, add:
if( WP_DEBUG == true ) {
/** Don't display WP errors */
define( 'WP_DEBUG_DISPLAY', false );
/** Log errors to debug.log in /wp-content instead */
define( 'WP_DEBUG_LOG', true );
/** Suppress PHP errors, which are normally turned on by WP_DEBUG */
@ini_set( 'display_errors',0 );
}
You should ideally be troubleshooting these errors on a local/dev copy of your site with an environment as close to the live site as possible.
Related Posts:
- How to configure WordPress to handle 75,000 pages?
- How to disable posts and use pages only
- What is the difference between $paged and $page?
- multi page password protection
- Create a “Dummy” parent page for a hierarchy in page listing?
- Custom SQL Query for WordPress page
- Change admin startpage to Pages-page?
- Password protected post or page – error message by wrong password?
- Get next/previous cousin page
- I want only my sub-pages to be clickable in the navbar
- How restrict page for users logged? [closed]
- Only allow new subpages to be created
- Hide Visibility Option From WordPress Publish Metabox
- How do I turn comments off for pages, but not posts?
- WordPress 4 and wp_editor() Not Showing Visual/Text tabs
- How to make nested page structure?
- Check to see if page exists problems
- List Child Pages of Parent Parent Page (Child pages from Grand Parent)
- Custom /page/2/ template (different from index.php)
- How to add meta boxes to Pages
- Form action redirect to the same page
- How do I create a separate page for each author?
- Overriding the currently selected menu item
- Front Page not showing on Pages
- WordPress pages with hierarchy
- How to incorporate Documentation into wordpress?
- Missing parent page attribute
- Hiding Page by Title from Editing
- Two Search pages, One search form
- Get page by its ID and display it on another one
- Get all pages that are published
- Add a predefined page to site
- creating and styling a within a page
- How do i change page template in bulk?
- What are trackbacks?
- How to enumerate a list of posts?
- Weird issue with is_pages() with array
- Missing ‘Page Attributes’ in page edit
- How can I redirect to my custom page without loading the Dashboard itself?
- Remove ID page from wp_count
- category slug and page slug same
- New user Registration data imported into Page
- Could be a namespace conflict (?) with login form and register form on the same page
- The concept of non-blog content
- Updated WordPress, now getting errors on site
- Edit Parent page drop menu when creating a page
- Get parent of current page
- How to list a page tree?
- How to create a page and display only the posts with a specific custom field value?
- Attachment pages stealing page slugs
- How to add an external php page with wordpress?
- Exclude pages by menu order
- WordPress pages not working out correctly with HTML
- Change page name in admin list
- How to exclude authors from get_pages()
- Folder wordpress page redirect
- Dynamic page with comments
- How to rewrite a page url
- Manage content on multiple pages synchronysly?
- Display pages in alphabetical order
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- Archive limit the text of the_content
- upgrade has caused page content to disappear
- Website jumps to top when scrolling down
- Can’t find the page that is using a slug
- Translate dashboard metabox
- Revert a Draft page to its original version
- Create page template
- Loading ACF Field content on a 404.php page
- My edits are not saved
- Cannot Create A Page or Post in WordPress 5.2.1
- Can I use the wordpress loop in pages?
- Add addtional page parameter before loading the page
- Get largest page id by title?
- How to insert current user ID in a shortcode?
- Make wordpress pages accessible for Woocommerce logged in users only
- My AJAX requests take 30 seconds to complete
- display different pages content on single page
- How to show the view more on my display of pages shortcode
- Have subdirectory name act as $_GET or $_POST data
- Create page excerpts for landinpage
- Why my site scroll top when end load pages
- Cannot add media to a page
- Creating multiple pages
- Create nonce in frontend page to edit profile
- How to make page navigation just below the content?
- Hide if subpages are shown
- Paginate Links not working
- How to remove title (home) from static page skeleton template
- How to get from sql query page id and retrieve it url and title
- How to access variables from one plugin in another
- Find Page Last Modified at Certain Date & Time
- Save search criteria per user and show on custom user page
- How do I create a page that displays the homepage?
- Custom SINGLE page with custom metaboxes and custom template
- How to change the default location where new post gets stored?