Matthew Pond

  • Home
  • The Code
  • HTML Minify
  • Contact

Tag: PHP

Tags

Amazon SESBedrockCentOSCSSLaravelLinuxPHPPluginsSageSMTPWooCommerceWordPress

How do I get PHP errors to display?

Matthew Pond June 12, 2019

Display errors is usually always turned off in the php.ini or your Apache config file to stop the wrong people seeing details of your server if something goes wrong. When debugging code I always add the following three lines to the top of the script I am looking at: That prints out all the errors I need.

PHP
View Article
0 Comments

Recent Posts

  • Fatal error: Call to undefined function post_exists()
  • WooCommerce Conditional Tags
  • Get list of all product categories in WooCommerce
  • Laravel Project Setup
  • How do I get PHP errors to display?
  • Responsive Web Design – Device Breakpoints
  • Linking to JSON data from dist folder
  • How to Secure Apache with Let’s Encrypt on CentOS 7
  • WordPress setup_postdata()
  • Outlook bypasses AutoDiscover and connects directly to Office 365 mailbox

Archives

  • September 2019
  • June 2019
  • April 2019
  • February 2019
  • January 2019
  • November 2018
  • October 2018

Categories

  • Blog
  • Code
  • Uncategorized

Navigation

  • Home
  • The Code
  • HTML Minify
  • Contact

Recent Posts

  • Fatal error: Call to undefined function post_exists()
  • WooCommerce Conditional Tags
  • Get list of all product categories in WooCommerce
  • Laravel Project Setup
  • How do I get PHP errors to display?

Search

2019 © Matthew Pond