george504
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Cassify] PHP 7 SupportThanks for the update,
George
Hi Tobias,
Sorry, I looked quickly and thought it was a typo, but you are correct.
Thanks for the quick reply,
George
Forum: Plugins
In reply to: [WP Cassify] PHP 7 SupportHello,
I’ve tested against PHP 7.1 and came up with similar issues in swiftmailer. If you could bump that up it will probably fix issues with PHP 7 compatibility.
Thanks, George
=========================
Results against PHP 7.1:
FILE: /code/wp-content/plugins/wp-cassify/classes/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/FileByteStream.php
——————————————————————————————————————————————————————————
FOUND 2 ERRORS AFFECTING 2 LINES
——————————————————————————————————————————————————————————
87 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
91 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
——————————————————————————————————————————————————————————FILE: /code/wp-content/plugins/wp-cassify/classes/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php
——————————————————————————————————————————————————————————————-
FOUND 1 ERROR AND 12 WARNINGS AFFECTING 4 LINES
——————————————————————————————————————————————————————————————-
526 | ERROR | Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0
578 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
578 | WARNING | Function mcrypt_module_open() is deprecated since PHP 7.1; Use OpenSSL instead
578 | WARNING | The constant “MCRYPT_DES” is deprecated since PHP 7.1
579 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
579 | WARNING | Function mcrypt_generic_init() is deprecated since PHP 7.1; Use OpenSSL instead
579 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
579 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; Use random_bytes() or OpenSSL instead
579 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
579 | WARNING | Function mcrypt_enc_get_iv_size() is deprecated since PHP 7.1; Use OpenSSL instead
579 | WARNING | The constant “MCRYPT_DEV_RANDOM” is deprecated since PHP 7.1
581 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
581 | WARNING | Function mcrypt_generic() is deprecated since PHP 7.1; Use OpenSSL instead
——————————————————————————————————————————————————————————————-FILE: /code/wp-content/plugins/wp-cassify/classes/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/SimpleMailInvoker.php
——————————————————————————————————————————————————————————–
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
——————————————————————————————————————————————————————————–
33 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
——————————————————————————————————————————————————————————–FILE: /code/wp-content/plugins/wp-cassify/classes/vendor/swiftmailer/swiftmailer/lib/classes/Swift/KeyCache/DiskKeyCache.php
————————————————————————————————————————————————————————–
FOUND 4 ERRORS AFFECTING 4 LINES
————————————————————————————————————————————————————————–
180 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
187 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
207 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
213 | ERROR | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4
————————————————————————————————————————————————————————–FILE: /code/wp-content/plugins/wp-cassify/classes/wp_cassify_utils.php
——————————————————————————————————————————-
FOUND 0 ERRORS AND 22 WARNINGS AFFECTING 14 LINES
——————————————————————————————————————————-
508 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
508 | WARNING | Function mcrypt_encrypt() is deprecated since PHP 7.1; Use OpenSSL instead
509 | WARNING | The constant “MCRYPT_RIJNDAEL_256” is deprecated since PHP 7.1
512 | WARNING | The constant “MCRYPT_MODE_ECB” is deprecated since PHP 7.1
513 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
513 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; Use random_bytes() or OpenSSL instead
514 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
514 | WARNING | Function mcrypt_get_iv_size() is deprecated since PHP 7.1; Use OpenSSL instead
514 | WARNING | The constant “MCRYPT_RIJNDAEL_256” is deprecated since PHP 7.1
514 | WARNING | The constant “MCRYPT_MODE_ECB” is deprecated since PHP 7.1
515 | WARNING | The constant “MCRYPT_RAND” is deprecated since PHP 7.1
536 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
536 | WARNING | Function mcrypt_decrypt() is deprecated since PHP 7.1; Use OpenSSL instead
537 | WARNING | The constant “MCRYPT_RIJNDAEL_256” is deprecated since PHP 7.1
540 | WARNING | The constant “MCRYPT_MODE_ECB” is deprecated since PHP 7.1
541 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
541 | WARNING | Function mcrypt_create_iv() is deprecated since PHP 7.1; Use random_bytes() or OpenSSL instead
542 | WARNING | Extension ‘mcrypt’ is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
542 | WARNING | Function mcrypt_get_iv_size() is deprecated since PHP 7.1; Use OpenSSL instead
543 | WARNING | The constant “MCRYPT_RIJNDAEL_256” is deprecated since PHP 7.1
544 | WARNING | The constant “MCRYPT_MODE_ECB” is deprecated since PHP 7.1
546 | WARNING | The constant “MCRYPT_RAND” is deprecated since PHP 7.1
——————————————————————————————————————————-Hi,
It appears that the errors in view-about.php lines 185/186 should be updated as these extensions are removed in php 7. The first part of each line is using the updated extension and then the deprecated extension. They should both be using “mysqli”.
Examples (I’ve edited the original code):
185 mysqli_get_server_info( $GLOBALS[‘wpdb’]->dbh ) : mysql_get_server_info();
186 mysqli_get_client_info( $GLOBALS[‘wpdb’]->dbh ) : mysql_get_client_info();
Thanks,
GeorgeForum: Fixing WordPress
In reply to: Nav bar displays nothing on responsive view.I would suggest you contact the vendor of your theme. It appears to use Layers.
https://www.layerswp.com/