Tips & Tricks For Debugging WordPress PHP

Поделиться
HTML-код
  • Опубликовано: 23 янв 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!!

  • @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

  • @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.

  • @melissahernandez2139
    @melissahernandez2139 4 года назад

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

  • @ta9sas
    @ta9sas 2 года назад

    Exactly what I was looking for, Thank you

  • @루루-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?

  • @danimordecai7611
    @danimordecai7611 3 года назад

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

  • @rizaanjappie
    @rizaanjappie 4 года назад

    Can you do a course on unit testing.,

  • @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?

  • @kaveengoonawardane9651
    @kaveengoonawardane9651 3 года назад

    Great video mate. Thanks!

  • @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.

  • @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.

  • @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.

  • @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

  • @yukasung
    @yukasung 5 лет назад

    how can i debug in save_post?

  • @루루-z4l
    @루루-z4l 2 года назад

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

  • @kerimtim
    @kerimtim 2 года назад

    Thank you for the video

  • @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

  • @foundational
    @foundational 5 лет назад

    what program are u using to access php code?

    • @WPCasts
      @WPCasts  5 лет назад

      Visual Studio Code

  •  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.

  • @angelorigo
    @angelorigo 4 года назад

    Very helpful!

  • @husenmultani6707
    @husenmultani6707 4 года назад

    Good video

  • @rangabharath4253
    @rangabharath4253 4 года назад

    awesome

  • @FilthySnob
    @FilthySnob 3 года назад

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

  • @jenithajeyakumar105
    @jenithajeyakumar105 3 года назад

    gooooodddddddddddddddddddd

  • @vildanmorina2499
    @vildanmorina2499 4 года назад

    Very Helpful!

    • @WPCasts
      @WPCasts  4 года назад

      Glad you think so!