Title: PHP 8
Last modified: December 8, 2021

---

# PHP 8

 *  Resolved [gaspar](https://wordpress.org/support/users/gaspar/)
 * (@gaspar)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-39/)
 * You have to update your code for PHP 8.
 *     ```
       Deprecated: Required parameter $arr follows optional parameter $insert in jsm-show-post-meta/lib/com/util.php on line 1917
       Deprecated: Required parameter $match_key follows optional parameter $insert in jsm-show-post-meta/lib/com/util.php on line 1917
       Deprecated: Required parameter $mixed follows optional parameter $insert in wp-jsm-show-post-meta/lib/com/util.php on line 1917
       ```
   
 *     ```
       private static function insert_in_array( $insert = 'after', array &$arr, $match_key, $mixed, $add_value = null, $ret_bool = false ) {
       ...
       ```
   

The topic ‘PHP 8’ is closed to new replies.

 * ![](https://ps.w.org/jsm-show-post-meta/assets/icon-256x256.jpg?rev=2396819)
 * [JSM Show Post Metadata](https://wordpress.org/plugins/jsm-show-post-meta/)
 * [Support Threads](https://wordpress.org/support/plugin/jsm-show-post-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/jsm-show-post-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jsm-show-post-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jsm-show-post-meta/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gaspar](https://wordpress.org/support/users/gaspar/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/php-8-39/)
 * Status: resolved