Ahh! I found it.
If I did this:
phpinfo();
die();
Then I could see that ‘display errors` was set to off.
So if I added this in the top of my functions.php
: ini_set('display_errors', 1);
, then it started showing the errors.
Related Posts:
- What is the best way to monitor PHP functions/executions?
- How do I set up Debugging?
- add_sub_menu page() to be replaced by add_theme_page()
- How do you change error reporting to only show errors in WordPress?
- Unnessary character on post after restore
- WP_DEBUG is not set, but I’m still getting warnings
- Suppress deprecated notices
- Disable Debug Log Programmatically
- Error Logs to Diagnose Error 500 in LAMP
- error_log is not working as expected in functions.php file
- How to get a Custom 500 Error Page to show?
- Get PHP Fatal error on globalized $wpdb: Call to a member function insert() on a non-object- I have no clue. What to do?
- Wordpres debug.log PHP Notice: is_singular was called
- Nginx 404, 500 errors and WordPress
- How to Debug WordPress
- Error message prevents access to WP
- How to Fix “Are You Sure You Want to Do This”, while uploading my theme?
- Getting notices on fresh 3.6.1 install
- WordPress: Notice:Object of class WP_Query could not be converted to int in on line
- Why does WordPress keep showing me error messages?
- “Undefined index” error when saving empty array with checkboxes
- 500 error after update
- Front end empty (i.e. nothing displays); Back end looks fine; What are possible causes?
- WordPress debug messages not displaying
- 500 error for all pages and post after move localhost to server
- WordPress + Buddpyress – troubleshooting server overloading
- Undefined index error on options array element?
- WordPress 6.x / PHP 8.x deprecated warnings in development environment
- A SINGLE Post Giving an “Under Maintenance” Message
- Weird Cron Error
- How to find which plugin crashes
- Internal 500 error: Activating rootio theme and deploying with capistrano
- Fatal error trace not shown in development setup
- Unable to log in: “Cannot serve directory www/wordpress/wp-includes/ No matching DirectoryIndex”
- My websit dosent worke http errors 500
- Change login error messages
- How to check if debug is true and can I use it for my own code? [duplicate]
- Notice: Undefined index: host in /var/www/html/wp-includes/canonical.php on line 445
- Notice: Constant WP_POST_REVISIONS already defined
- Debug mode shows Strict Standards
- Why on Earth am I getting “undefined_index” errors?
- How to debug when error_log not working as expected
- Displaying oEmbed errors?
- “Apache HTTP Service has stopped working” with WP Query in WordPress 2.9.2
- Showing “ Notice: Undefined variable:” and “ Notice: Trying to get property of non-object”
- Publishing Time – WordPress Plain White Screen with No Error
- “Notice: Undefined variable: content” is showing [closed]
- Sodium compat error
- Fatal error: require(): Failed opening required ‘WP_DIRwp-blog-header.php’
- Removing warnings and notices from production servers
- What does this error mean? WordPress database error: [MySQL server has gone away]
- Fatal error: Call to undefined function is_multisite()
- Using debug log in production, is that a security concern?
- WordPress white screen with word ‘error’ [closed]
- File does not exist – wp-index.php
- REST : how do you handle the rest_no_route error?
- “Undefined index” in wp-includes/media.php
- Error on moving WordPress site to Host from Local installation
- Visual editor become blank after updating an article
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561
- Display all WP Errors together during form validation
- Why can I not execute php files under the wp-includes folder?
- Headers already sent by
- Failed: Filesystem preventing downloads. ( ftpext)
- Can not login to wordpress site after resolving white screen of death
- Code snippet to display ID gives critical error
- I tried to build a theme from scratch and it crashed everything
- error log bloated by add_view
- Warning: require_once(/home/onetwo/public_html/wp-config.php): [closed]
- Unable to locate WordPress content directory
- WP Core Update Issue
- Cannot upgrade to 4.0 – get SSL certificate error
- Fatal Error: get_header();
- Error when setting cookie
- styles/default.css in markup, where does it come from? [closed]
- download count29.php whene loading site [closed]
- My new WordPress blog keeps refreshing in Chrome browser
- Getting no Error Log File saved to my local directory, and no debug info displayed in the web browser
- How to turn off WP error handling, but turn on php error handling?
- Error regarding invalid file permissions for upgrading WordPress version
- Publication in wrong category
- Suddenly get errors in admin when editing post type
- Dashboard widget, screen options/help doesn’t work?
- Getting amp; on every single category, post and page title. How to Remove?
- Plugin debugging with errors in activation routine
- WordPress fails when my post is larger than 1400 words
- Seeing “error” as text on white when accessing admin
- Weird Parse Error on Uploaded File
- Why I am having error Call to undefined function get_header()?
- Fatal error: Cannot declare class WP_User_Request, because the name is already in use?
- problem ajaxurl – designthemes-core-features
- Whole right area of wordpress admin dashboard not showing
- Only specific users timing out
- WordPress Customizer not loading
- Getting 403 Forbidden Error while trying to edit or delete new posts or existing posts
- Creating a function inside a custom WordPress Plugin [closed]
- Lots of warnings and errors instead of my WordPress site – Synology NAS – Intranet
- Automated WordPress update failed to complete – but all updates fail with code -1
- Critical error after updating my wordpress