Title: PHP 7.0 (15) Warnings (2) Errors
Last modified: October 3, 2017

---

# PHP 7.0 (15) Warnings (2) Errors

 *  Resolved [VentureCore](https://wordpress.org/support/users/manakio2k/)
 * (@manakio2k)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-0-15-warnings-2-errors/)
 * We are upgrading our systems to php 7 and we encountered the following issues
   when running ‘PHP Compatibility Checker’
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/traits/
   admin_menu.php
 * FOUND 1 ERROR AFFECTING 1 LINE
    612 | ERROR | Using a call-time pass-by-reference
   is deprecated since PHP 5.3 and prohibited since PHP 5.4
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/sdk/
   traits/db_aware_object.php
 * FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    76 | WARNING | Method name “
   db_aware_object::__db_delete” is discouraged; PHP has reserved all method names
   with a double underscore prefix for future use 95 | WARNING | Method name “db_aware_object::
   __db_insert” is discouraged; PHP has reserved all method names with a double 
   underscore prefix for future use 114 | WARNING | Method name “db_aware_object::
   __db_load” is discouraged; PHP has reserved all method names with a double underscore
   prefix for future use 133 | WARNING | Method name “db_aware_object::__db_update”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/sdk/
   form2/inputs/traits/container.php
 * FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    80 | WARNING | Method name “
   container::__toString_after_container” is discouraged; PHP has reserved all method
   names with a double underscore prefix for future use 90 | WARNING | Method name“
   container::__toString_after_inputs” is discouraged; PHP has reserved all method
   names with a double underscore prefix for future use 100 | WARNING | Method name“
   container::__toString_before_container” is discouraged; PHP has reserved all 
   method names with a double underscore prefix for future use 110 | WARNING | Method
   name “container::__toString_before_inputs” is discouraged; PHP has reserved all
   method names with a double underscore prefix for future use
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/sdk/
   form2/inputs/inputfieldset.php
 * FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    19 | WARNING | Method name “
   inputfieldset::__toString_before_container” is discouraged; PHP has reserved 
   all method names with a double underscore prefix for future use 30 | WARNING 
   | Method name “inputfieldset::__toString_before_inputs” is discouraged; PHP has
   reserved all method names with a double underscore prefix for future use
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/sdk/
   form2/inputs/fieldset.php
 * FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    22 | WARNING | Method name “fieldset::
   __toString_before_inputs” is discouraged; PHP has reserved all method names with
   a double underscore prefix for future use
 * FILE: /nas/content/live/data360masters/wp-content/plugins/threewp-broadcast/src/
   sdk/wordpress/traits/db_aware_object.php
 * FOUND 0 ERRORS AND 4 WARNINGS AFFECTING 4 LINES
    14 | WARNING | Method name “
   db_aware_object::__db_delete” is discouraged; PHP has reserved all method names
   with a double underscore prefix for future use 23 | WARNING | Method name “db_aware_object::
   __db_update” is discouraged; PHP has reserved all method names with a double 
   underscore prefix for future use 41 | WARNING | Method name “db_aware_object::
   __db_insert” is discouraged; PHP has reserved all method names with a double 
   underscore prefix for future use 53 | WARNING | Method name “db_aware_object::
   __db_load” is discouraged; PHP has reserved all method names with a double underscore
   prefix for future use
 * FILE: /nas/content/live/my-site/wp-content/plugins/threewp-broadcast/src/sdk/
   wordpress/updater/edd.php
 * FOUND 1 ERROR AFFECTING 1 LINE
    291 | ERROR | Using ‘break’ outside of a loop
   or switch structure is invalid and will throw a fatal error since PHP 7.0
 * I will post this to you from your main site as well. We’re looking at upgrading
   but need to find out if this can be setup to post to separate networks.
 * THanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-0-15-warnings-2-errors/#post-9550979)
 * The above is no problem.
 * I have PHP7 myself (7.0.19-1) for quite a while now. If there were a PHP7 incompatibility,
   it would have been noticed. 🙂
 * Go ahead and use Broadcast on PHP7 and you’ll do just fine.

Viewing 1 replies (of 1 total)

The topic ‘PHP 7.0 (15) Warnings (2) Errors’ is closed to new replies.

 * ![](https://ps.w.org/threewp-broadcast/assets/icon.svg?rev=1013783)
 * [Broadcast](https://wordpress.org/plugins/threewp-broadcast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/threewp-broadcast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/threewp-broadcast/)
 * [Active Topics](https://wordpress.org/support/plugin/threewp-broadcast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/threewp-broadcast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/threewp-broadcast/reviews/)

## Tags

 * [PHP 7.0](https://wordpress.org/support/topic-tag/php-7-0/)

 * 1 reply
 * 2 participants
 * Last reply from: [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-0-15-warnings-2-errors/#post-9550979)
 * Status: resolved