Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ivelina Dimova - The Magic of Advanced Debugging

Ivelina Dimova - The Magic of Advanced Debugging

As lead of the Ongoing Client Support at CrowdFavorite I’ve worked with lots of legacy code on different projects. This session covers some of the lessons we’ve learned in the process and tips how to deal with the most common issues faster and more effective. It also shows how the legacy code can be actually fun.

WordPress Greek Community

December 09, 2017
Tweet

More Decks by WordPress Greek Community

Other Decks in Technology

Transcript

  1. Fatal error: Cannot use object of type stdClass as array

    in /Users/ivdimova/Sites/project.dev/wordpress/wp-content/plugin s/custom-social-feed/includes/init.php on line 645, referer: http://project.dev/
  2. add_action( 'plugins_loaded', 'prefix_remove_action', 10 ); function prefix_remove_action() { $invoice =

    new WC_Gateway_Sprout_Invoices(); $result = remove_action( 'woocommerce_thankyou_sprout_invoices', array( $invoice, 'thankyou_page' ), 20 ); }