Title: thepubcl's Replies | WordPress.org

---

# thepubcl

  [  ](https://wordpress.org/support/users/thepubcl/)

 *   [Profile](https://wordpress.org/support/users/thepubcl/)
 *   [Topics Started](https://wordpress.org/support/users/thepubcl/topics/)
 *   [Replies Created](https://wordpress.org/support/users/thepubcl/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/thepubcl/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/thepubcl/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/thepubcl/engagements/)
 *   [Favorites](https://wordpress.org/support/users/thepubcl/favorites/)

 Search replies:

## Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166999)
 * Thanks Steve,
 * I did post to Mailpoet, so far their answer was similar to yours, that it shouldn’t
   be a problem. Unfortunately it is. SG Optimizer runs the compatibility test and
   doesn’t let you go to the update step until conflicts are resolved.
 * Then Helldog2018 was very nice to help fix the issue I posted here and then was
   even nicer to offer to take a look at the Mailpoet issue I was having. So I took
   them up on the offer.
 * So, I’m guessing you were not having a problem with that, you were just suggesting
   Mailpoet might be of more help? Anyway, if I can’t get these resolved, all I 
   can think to do is delete Mailpoet plugin (which opens a different list of issues)
   to allow me to move on with PHP 7 update . This is why (as an amateur) I was 
   happy to have Helldog2018’s offer.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Can’t update to PHP 7, compatibility flag](https://wordpress.org/support/topic/cant-update-to-php-7-compatibility-flag/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/cant-update-to-php-7-compatibility-flag/#post-10166881)
 * As i said.. amateur. So I can’t really debate. I don’t think I Bounce, the only
   thing I had to change was switching who I used to deliver the newsletters (per
   mailpoet advice) but that was a couple years ago. Other than that, all I know
   is what the report I copy/pasted above said and that without resolving the issues
   listed it won’t let me proceed with PHP 7 update.
 * Thanks for your time
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166627)
 * 736-756
    function loadExtension($ext) { if (!extension_loaded($ext)) { // if 
   either returns true dl() will produce a FATAL error, stop that if ((ini_get(‘
   enable_dl’) != 1) || (ini_get(‘safe_mode’) == 1)) { return false; } if (OS_WINDOWS){
   $suffix = ‘.dll’; } elseif (PHP_OS == ‘HP-UX’) { $suffix = ‘.sl’; } elseif (PHP_OS
   == ‘AIX’) { $suffix = ‘.a’; } elseif (PHP_OS == ‘OSX’) { $suffix = ‘.bundle’;}
   else { $suffix = ‘.so’; } return [@dl](https://wordpress.org/support/users/dl/)(‘
   php_’.$ext.$suffix) || [@dl](https://wordpress.org/support/users/dl/)($ext.$suffix);}
   return true;
 * and 852-853
    function PEAR_Error($message = ‘unknown error’, $code = null, $mode
   = null, $options = null, $userinfo = null)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166615)
 * Sorry thought I was in the other file. That is correct for Bounce file
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166610)
 * Ignore that
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166609)
 * This is 55-66 in bounce file
 *  if (function_exists(‘dl’)) {
    //We will try to load it on the fly $fatalMessage
   = ‘The system tried to load dynamically the ‘ . $EXTENSION . ‘ extension’; $fatalMessage.
   = ‘<br/>If you see this message, that means the system could not load this PHP
   extension’; $fatalMessage .= ‘<br/>Please enable the PHP Extension ‘ . $EXTENSION;
   ob_start(); echo $fatalMessage; //This method could cause a fatal error, but 
   we will still display some messages in that case. dl($EXTENSION); $warnings =
   str_replace($fatalMessage, ”, ob_get_clean()); if (extension_loaded(‘imap’) OR
   function_exists(‘imap_open’)) return true;
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166595)
 * Sorry, the first section was under:
    FILE: /home/thepubcl/public_html/wp-content/
   plugins/wysija-newsletters/inc/pear/pear.php
 * Looking for other
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166571)
 * Wow, thanks, this is what I have:
 * 754 | WARNING | Function dl() is deprecated since PHP 5.3
    754 | WARNING | Function
   dl() is deprecated since PHP 5.3 852 | WARNING | Use of deprecated PHP4 style
   class constructor is not supported since PHP 7. ————————————————————————————————–
 * ——————————————————————————————————————————————————————–
 * FILE: /home/thepubcl/public_html/wp-content/plugins/wysija-newsletters/helpers/
   bounce.php
    —————————————————————————————– FOUND 0 ERRORS AND 1 WARNING AFFECTING
   1 LINE —————————————————————————————– 63 | WARNING | Function dl() is deprecated
   since PHP 5.3
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166531)
 * Thanks, helldog 2018,
    That did it! Now I just have to get Mailpoet to support
   v2 and fix their comparability issues. Then I’m good to go!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Trying to update to PHP 7, compatability issues](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/)
 *  Thread Starter [thepubcl](https://wordpress.org/support/users/thepubcl/)
 * (@thepubcl)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/trying-to-update-to-php-7-compatability-issues/#post-10166473)
 * Thanks, helldog2018
    this is what I found: function sgwindow_SocialIcons() {
 *  /* Widget settings. */
    $widget_ops = array( ‘classname’ => ‘sgwindow_socialicons’,‘
   description’ => __(‘Display Social Media Links.’, ‘sg-window’ ));
 *  /* Widget control settings. */
    $control_ops = array( ‘width’ => 250, ‘height’
   => 250, ‘id_base’ => ‘sgwindow_socialicons_widget’);
 *  /* Create the widget. */
    parent::__construct( ‘sgwindow_socialicons_widget’,
   __(‘SG Social Media Icons’, ‘sg-window’ ), $widget_ops, $control_ops );
 * Maybe it’s obvious, but again… amateur, so?

Viewing 10 replies - 1 through 10 (of 10 total)