Tips & Tricks For Debugging WordPress PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 45

  • @WPCasts
    @WPCasts  5 ปีที่แล้ว +15

    Even though we are just scratching the surface to debugging WordPress PHP. I hope you learned something!

    • @nicolasmenescardi4077
      @nicolasmenescardi4077 5 ปีที่แล้ว

      Thanks for sharing. Xdebug is very helpful as well: www.codewall.co.uk/debug-php-in-vscode-with-xdebug/

  • @abenjamin13
    @abenjamin13 4 ปีที่แล้ว +4

    Thank you for the debugging tips, extremely helpful.

  • @Lucas-rr2il
    @Lucas-rr2il 4 หลายเดือนก่อน

    You help me a lot with this, thank you so much!!

  • @danimordecai7611
    @danimordecai7611 3 ปีที่แล้ว

    So good to find this today. Fixed my hiccups. Awesome 👍😎

  • @heyimamaker
    @heyimamaker 5 ปีที่แล้ว

    Awesome tips, At work we use Sentry, and I do really like it. The ability to plop everything into one location and delegate issues to team members is amazing.
    For personal use through the logging method that you talked about its wicked.
    The only thing I do differently is using the logging in MAMP with my Apache V-hosts, this lets me use all of my virtual hosts and log each local site to its own file.
    Basically the same thing though.

  • @ta9sas
    @ta9sas 2 ปีที่แล้ว

    Exactly what I was looking for, Thank you

  • @melissahernandez2139
    @melissahernandez2139 4 ปีที่แล้ว

    ok such a newbie here!! THANK U! helped me so much!

  • @kaveengoonawardane9651
    @kaveengoonawardane9651 3 ปีที่แล้ว

    Great video mate. Thanks!

  • @elisabethbrowning5040
    @elisabethbrowning5040 4 ปีที่แล้ว +4

    So sorry, but I have another question. How do you get to wp-config.php to edit?

    • @anag8828
      @anag8828 4 ปีที่แล้ว +1

      I have the same question. This is all new to me...

    • @alex14pall
      @alex14pall 4 ปีที่แล้ว

      You need to access your server files. So let's say your site name is example-site[.com] , then your main file should have the same name so you browse example-site[.com] and you should see wp-config.php inside that direcrtory

    • @spr1ng586
      @spr1ng586 3 ปีที่แล้ว

      FTP mb

  • @루루-z4l
    @루루-z4l 2 ปีที่แล้ว

    There are very few of wordpress custom develop data in south korea.
    Is there wordpress custom development going on in your career or software market of software developers a lot?

  • @루루-z4l
    @루루-z4l 2 ปีที่แล้ว

    cooooooooooooooool!
    thanks info php wordpress custom development environment and tips!

  • @whboggs
    @whboggs 5 ปีที่แล้ว +1

    What are you using to edit the site live? Looks much easier than uploading new files every time.

    • @WPCasts
      @WPCasts  5 ปีที่แล้ว

      I'll be creating a tutorial about how my workflow in WordPress in the coming weeks. Keep an eye out for it :)

    • @vanguardianacional1844
      @vanguardianacional1844 5 ปีที่แล้ว

      @@WPCasts let us know please! thanks

  • @rizaanjappie
    @rizaanjappie 4 ปีที่แล้ว

    Can you do a course on unit testing.,

  • @kerimtim
    @kerimtim 2 ปีที่แล้ว

    Thank you for the video

  • @catafest
    @catafest 3 ปีที่แล้ว

    Good tutorial! Can you make a video tutorial about you to custom the post for a default WordPress theme? For example, I want to add a custom source code area in the post. Thank you for share.

  • @victormendoza3295
    @victormendoza3295 4 ปีที่แล้ว

    I'm going to have a local env for elk stack and feeding php error logs into elk stack to see stats, etc.

  •  4 ปีที่แล้ว

    Hi, it is possible to have querymonitor on frontend ? And thank you for your videos - top quality content, I bow to you ! I hope you continue the good work.

  • @najimuddin9474
    @najimuddin9474 3 ปีที่แล้ว

    I've set wp-debug to true and then refresh the website, but no error warnings or notices appear at the top of the website. How do I get it to show at the top?

  • @angelorigo
    @angelorigo 4 ปีที่แล้ว

    Very helpful!

  • @sartipablo
    @sartipablo 4 ปีที่แล้ว

    I can't update my php version of Wordpress. Can you help me with this? Also, if I do this do I need to be hosting my website locally? Someone please help.

  • @husenmultani6707
    @husenmultani6707 4 ปีที่แล้ว

    Good video

  • @foundational
    @foundational 5 ปีที่แล้ว

    what program are u using to access php code?

    • @WPCasts
      @WPCasts  5 ปีที่แล้ว

      Visual Studio Code

  • @elisabethbrowning5040
    @elisabethbrowning5040 4 ปีที่แล้ว

    How do this if you cannot login now to WordPress after debug error?

    • @WPCasts
      @WPCasts  4 ปีที่แล้ว

      If you have access to the DB you can change the active theme to twentytwenty and deactivate the plugins. That will make it so you can login again

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว

    awesome

  • @yukasung
    @yukasung 5 ปีที่แล้ว

    how can i debug in save_post?

  • @jenithajeyakumar105
    @jenithajeyakumar105 3 ปีที่แล้ว

    gooooodddddddddddddddddddd

  • @FilthySnob
    @FilthySnob 3 ปีที่แล้ว

    where the fuck do i find that fucking front.php file?

  • @vildanmorina2499
    @vildanmorina2499 4 ปีที่แล้ว

    Very Helpful!

    • @WPCasts
      @WPCasts  4 ปีที่แล้ว

      Glad you think so!