Title: PHP 7.0/HTTPS woes: some functions have been deprecated
Last modified: August 31, 2016

---

# PHP 7.0/HTTPS woes: some functions have been deprecated

 *  [Gwyneth Llewelyn](https://wordpress.org/support/users/gwynethllewelyn/)
 * (@gwynethllewelyn)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/php-70https-woes-some-functions-have-been-deprecated/)
 * `Call to undefined function split() in [...mypath...]/wp-content/plugins/advertising-
   manager/lib/OX/Ad.php`
 * is fixed by opening the file in question, looking for line 78 which says:
 * `list($width, $height) = split('[x]', $value);`
 * **split()** has been [deprecated and removed on PHP 7](http://php.net/manual/en/function.split.php),
   so the alternative is something like:
 * `list($width, $height) = str_split('[x]', $value);`
 * This will not work 100%, but at least it will allow the plugin to work until 
   a better fix is made.
 * Also, the plugin is not totally HTTPS-friendly — a few references are still made
   to resources using **http://** when they should be made using **//** to be sure
   they work well under HTTP and HTTPS. For those who wish to run websites with 
   HTTPS, it’s fulcral that _everything_ — and this obviously means all ads! — is
   transferred via HTTPS, or some browsers will silently ignore those blocks and
   not load them.
 * [https://wordpress.org/plugins/advertising-manager/](https://wordpress.org/plugins/advertising-manager/)

The topic ‘PHP 7.0/HTTPS woes: some functions have been deprecated’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advertising-manager.svg)
 * [Advertising Manager](https://wordpress.org/plugins/advertising-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advertising-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advertising-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advertising-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advertising-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advertising-manager/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Gwyneth Llewelyn](https://wordpress.org/support/users/gwynethllewelyn/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/php-70https-woes-some-functions-have-been-deprecated/)
 * Status: not resolved