Title: After upgrade to PHP8 multiple errors
Last modified: April 21, 2021

---

# After upgrade to PHP8 multiple errors

 *  Resolved [felix007](https://wordpress.org/support/users/felix007/)
 * (@felix007)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/after-upgrade-to-php8-multiple-errors/)
 * Hi
    After upgrade to PHP8 i get number of errors when debug is true. Can it be
   fixed?
 *     ```
       Deprecated: Required parameter $nonce follows optional parameter $formdata in /home/user/sample-site.com/wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php on line 65
   
       Deprecated: Required parameter $args follows optional parameter $file in /home/user/sample-site.com/wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Cron.php on line 24
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/user/sample-site.com/wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php:65) in /home/user/sample-site.com/wp-includes/functions.php on line 6362
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/user/sample-site.com/wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php:65) in /home/user/sample-site.com/wp-admin/includes/misc.php on line 1310
   
       Warning: Cannot modify header information - headers already sent by (output started at /home/user/sample-site.com/wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php:65) in /home/user/sample-site.com/wp-admin/admin-header.php on line 9
       ```
   
 * Thank you
    -  This topic was modified 5 years, 1 month ago by [felix007](https://wordpress.org/support/users/felix007/).

The topic ‘After upgrade to PHP8 multiple errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [felix007](https://wordpress.org/support/users/felix007/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/after-upgrade-to-php8-multiple-errors/)
 * Status: resolved