Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Warning
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
http://www.php.net/split
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_width() (line 53 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
* Deprecated function: Function split() is deprecated in tinybrowser_get_window_height() (line 60 of /var/www/sites/all/modules/tinybrowser/tinybrowser.module).
Comment | File | Size | Author |
---|---|---|---|
#3 | update-deprecated-function-1056896-3.patch | 1.73 KB | GGH |
Comments
Comment #1
Sarke CreditAttribution: Sarke commentedJust replace
$win_size = split('x', $popup_win_size);
with
$win_size = explode('x', $popup_win_size);
on lines 53 and 60 in tinybrowser.module
Comment #2
pixture CreditAttribution: pixture commentedThanks Sarke,
I will fix this with the next release.
Comment #3
GGH CreditAttribution: GGH commentedfixed deprecated funtion
Comment #4
apadernoComment #5
apadernoThis has been fixed 11 years ago in commit #096dcb53.