PHP 8 debugging
-
I have a site that heavily integrates multiple pods. I tested with PHP 8 and for the most part everything ran fine, but it threw a fatal error on one particular page with an embedded Pods shortcode.
The basic error is:
PHP Fatal error: Uncaught Error: Unknown named parameter $post_ID in .../pods/classes/Pods.php:1948
There is then a stack trace of 24 lines. I was only seeing the error from the one page– so it does not seem to be a generalized problem with the Pods Plugin. I’m guessing some particular issue with the template that the query calls — that is, maybe the template is missing some bit of information needed to satisfy PHP 8’s stricter coding requirements.
Any ideas of what to look for?
- The topic ‘PHP 8 debugging’ is closed to new replies.