TroubleArticle list

How to make sure that the default value and the conditional branch judgment are the same in the checkbox of the theme customizer.

How to make sure that the default value and the conditional branch judgment are the same in the checkbox of the theme customizer.

  • WordPress

If you add a checked checkbox to the theme customizer and the condition branch judgment is processed as unchecked even though it is also checked on the customizer Cause and remedy

Verification and remedy when Warning (warning) “Attempt to read property” 〇〇 “on null in …” appears in PHP8.0 (example)

Verification and remedy when Warning (warning) “Attempt to read property” 〇〇 “on null in …” appears in PHP8.0 (example)

  • WordPress

After changing the PHP version of the WordPress site from 7.4 to 8.0 for several months, when I looked at the error log, I found a lot of “Attempt to read property” ID “on null in …”. In my case, I understand the cause of this warning and how to deal with it, so I will introduce it as a memorandum.