Adapting plugin fully to PHP >= 8.1
-
When I switching the page to PHP 8.1 and try to search anything in search-bar I see in suggestions block a warning like this:
“Warning: Undefined array key “post_type” in /home/httpd/vhosts/abf.ch/httpdocs/wp-content/plugins/job-postings/include/class-job-post-type.php on line 39″This warning disappears as soon as I downgrade PHP to 7.4. So my request would be to adapt the plugin fully to PHP 8.1. Otherwise I just cannot disable this warning. Nothing works: display_errors=0, WP_DEBUG_DISPLAY & WP_DEBUG set to false.
Only downgrading PHP removes this warning.
- This topic was modified 2 months, 2 weeks ago by .
- This topic was modified 2 months, 2 weeks ago by .
- This topic was modified 2 months, 2 weeks ago by .
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.