bogdanh
Forum Replies Created
-
Thank you for the reply.
May I suggest adding a hook (action or filter) to allow customizing that behavior for folks that need it? Otherwise we’d need to keep patching the plugin after each update. And apparently we’re not the only one that need those angled brackets.With such a hook you’d appease both camps :).
Forum: Plugins
In reply to: [Code Snippets] all snippet code is missing!I should add that for me reverting the upgrade, back to 2.14.0, fixes the issue, but that’s probably not a long-term option.
Forum: Plugins
In reply to: [Code Snippets] all snippet code is missing!Happened to me after upgrading from 2.14.0 to 3.2.2, while on WP 6.1.1, PHPv 8.0.26. Throws a JS error in console. Would be great if caught and handled more gracefully in plugins/code-snippets/dist/edit.js?ver=3.2.2.
Unfortunately I can’t updload an image with the console, in this editor, but here’s the stack trace:
[Error] TypeError: null is not an object (evaluating 'd.attach') (anonymous function) (load-scripts.php:155:19375) Pf (load-scripts.php:155:22492) Pf (load-scripts.php:155:21653) fg (load-scripts.php:156:190) (anonymous function) (code-editor.min.js:2:1991) (anonymous function) (edit.js:1:2797) (anonymous function) (edit.js:1:3596) i (editor.js:1:123415) (anonymous function) (edit.js:1:7960) e (editor.js:1:124150) e Global Code (edit.js:1:87)
I realise this doesn’t qualify as a “non-coding answer”, but should hopefully help the plugin author to fix the issue.
- This reply was modified 1 year, 11 months ago by bogdanh.
Forum: Plugins
In reply to: [Worth The Read] Fatal error when ran on WP VIPTheir support came back with some less than helpful suggestions, revolving around the use of wp_get_upload_dir() or wp_upload_dir(), documented at https://docs.wpvip.com/technical-references/vip-go-files-system/media-uploads/#h-programmatic-access-to-media-uploads, alas those seem to return the same useless vip:// urls.
I also tried to set the allow_url_include flag programatically, via ini_set, but it failed. If that worked, the ‘redux/upload_dir’ filter would have been a good place to call it, without changing the plugin itself.
Closing this ticket, as I believe this is a VIP issue, not a plugin issue.
Was told that this was fixed by https://github.com/Automattic/vip-go-mu-plugins/pull/3825.
Looking further into this, I realised that the files they suggested to be included are actually from the WP core, and are needed in one of their VIP-specific file (/var/www/wp-content/mu-plugins/vip-feed-cache/class-vip-go-feed-transient.php), so I suggested them to include them themselves, in their own file, instead of us having to change the plugin to work around their limitations. After all, since this issue happens only in the VIP environment, is not a plugin issue.
Forum: Plugins
In reply to: [Worth The Read] Fatal error when ran on WP VIP@brianmcculloh Thank you for looking into this. I don’t know what other plugins are using redux, but the same code works fine on a local WP install. We get this error only in the WP VIP env.
My guess is that they have some virtualised file system (see https://docs.wpvip.com/technical-references/vip-go-files-system/) so instead of normal paths that you’d see in a vanilla WP we get these URIs with custom schemes, like ‘vip://wp-content/uploads/sites/51/redux//extension_compatibility/ReduxFramework_Extension_options_object_extended.php’ while having allow_url_include=0. No wonder they can’t be included.
I’ll try to run this by their support and see what they have to say.
Hi @mikeyboo,
Thanks for looking into this.
At the moment we’re running version 4.22 of the plugin, but the same thing happened on 4.17.10. I can’t reveal too much about the setup, other than that it’s WP 6.0.3 on PHP 8.0.24.
I should mention that I don’t see the error if I run the same code on a local WP install. It only happens in the VIP env.
When VIP folks say “We have seen the error you shared in recent support tickets” they probably mean their support tickets, from other VIP customers, not your tickets. Somehow it only gets triggered on their env.
Forum: Plugins
In reply to: [Worth The Read] Fatal error when ran on WP VIPBasically the least disruptive workaround I was able to come up with was to replace the line 402 with this:
if (strpos($upload_dir, '://') !== false && !ini_get('allow_url_include')) { return null; } else { require_once $upload_dir . $new_class_name . '.php'; }
If you run:
phpcs -p plugins/post-smtp/ –standard=PHPCompatibilityWP –severity=1 –runtime-set testVersion 8.0- –extensions=phpwith phpcs configured as per https://wpvip.com/2022/07/06/how-to-prepare-your-wordpress-site-for-php-8/, yields a bunch of PHP8-specific issues, shown below. Do you plan on fixing them?
FILE: ...ugins/post-smtp/Postman/Postman-Auth/PostmanYahooAuthenticationManager.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 80 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...s/post-smtp/Postman/Postman-Auth/PostmanMicrosoftAuthenticationManager.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 82 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...gins/post-smtp/Postman/Postman-Auth/PostmanGoogleAuthenticationManager.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 92 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...stman/Postman-Mail/sendinblue/vendor/guzzlehttp/promises/src/functions.php -------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------------- 222 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead 257 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead 313 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead -------------------------------------------------------------------------------- FILE: ...Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Hash.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- 305 | WARNING | Function mhash() is deprecated since PHP 8.1; Use the hash_*() | | functions instead 328 | WARNING | Function mhash() is deprecated since PHP 8.1; Use the hash_*() | | functions instead -------------------------------------------------------------------------------- FILE: ...il/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php -------------------------------------------------------------------------------- FOUND 5 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------- 69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use random_bytes() or OpenSSL instead 69 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since | | PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available | | instead 108 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use random_bytes() or OpenSSL instead 108 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed since | | PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available | | instead 108 | ERROR | The constant "MCRYPT_DEV_URANDOM" is deprecated since PHP 7.1 | | and removed since PHP 7.2 -------------------------------------------------------------------------------- FILE: ...Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/Crypt/Base.php -------------------------------------------------------------------------------- FOUND 45 ERRORS AND 1 WARNING AFFECTING 26 LINES -------------------------------------------------------------------------------- 605 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as | | passed to a parameter, but will instead provide the current | | value. The parameter "$method" was used, and possibly changed | | (by reference), on line 603. 777 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 777 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 810 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 810 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 813 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 813 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 818 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 818 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 827 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 827 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 837 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 837 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 840 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 840 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1089 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1089 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1117 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1117 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1122 | ERROR | Function mcrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1122 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1131 | ERROR | Function mdecrypt_generic() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1134 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1134 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1596 | ERROR | Function mcrypt_list_algorithms() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1596 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1675 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1675 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1676 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1676 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1681 | ERROR | Function mcrypt_module_close() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1681 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1788 | ERROR | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 | | and removed since PHP 7.2 1789 | ERROR | The constant "MCRYPT_MODE_CBC" is deprecated since PHP 7.1 | | and removed since PHP 7.2 1791 | ERROR | The constant "MCRYPT_MODE_NOFB" is deprecated since PHP 7.1 | | and removed since PHP 7.2 1792 | ERROR | The constant "MCRYPT_MODE_STREAM" is deprecated since PHP 7.1 | | and removed since PHP 7.2 1795 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1795 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1796 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1796 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1802 | ERROR | Function mcrypt_module_open() is deprecated since PHP 7.1 and | | removed since PHP 7.2; Use OpenSSL instead 1802 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 1802 | ERROR | The constant "MCRYPT_MODE_ECB" is deprecated since PHP 7.1 | | and removed since PHP 7.2 1807 | ERROR | Function mcrypt_generic_init() is deprecated since PHP 7.1 | | and removed since PHP 7.2; Use OpenSSL instead 1807 | ERROR | Extension 'mcrypt' is deprecated since PHP 7.1 and removed | | since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once | | available instead 2500 | ERROR | Function create_function() is deprecated since PHP 7.2 and | | removed since PHP 8.0; Use an anonymous function instead -------------------------------------------------------------------------------- FILE: ...-Mail/google-api-client/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 10 | WARNING | INI directive 'mbstring.func_overload' is deprecated since PHP | | 7.2 and removed since PHP 8.0 -------------------------------------------------------------------------------- FILE: ...google-api-client/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 840 | ERROR | Passing the $glue and $pieces parameters in reverse order to | | implode has been deprecated since PHP 7.4 and is removed since | | PHP 8.0; $glue should be the first parameter and $pieces the | | second -------------------------------------------------------------------------------- FILE: ...ostman-Mail/google-api-client/vendor/guzzlehttp/promises/src/functions.php -------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------------- 222 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead 257 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead 313 | ERROR | Function each() is deprecated since PHP 7.2 and removed since | | PHP 8.0; Use a foreach loop or ArrayIterator instead -------------------------------------------------------------------------------- FILE: ...t/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/InArray.php -------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------- 82 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_arg(), no longer report the original value as passed to | | a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 74. 86 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_arg(), no longer report the original value as passed to | | a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 74. -------------------------------------------------------------------------------- FILE: .../plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php -------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------------- 1903 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as | | passed to a parameter, but will instead provide the current | | value. The parameter "$options" was changed on line 1901. 2113 | WARNING | All previously accepted values for the $type parameter of | | iconv_set_encoding() have been deprecated since PHP 5.6. | | Found 'internal_encoding' 2222 | WARNING | All previously accepted values for the $type parameter of | | iconv_set_encoding() have been deprecated since PHP 5.6. | | Found 'internal_encoding' -------------------------------------------------------------------------------- FILE: ...lugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/CreditCard.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 146 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 144. -------------------------------------------------------------------------------- FILE: ...ontent/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Ip.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 66 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed to | | a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 64. -------------------------------------------------------------------------------- FILE: ...tent/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Date.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 81 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed to | | a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 79. -------------------------------------------------------------------------------- FILE: ...t/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Between.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 104 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 102. -------------------------------------------------------------------------------- FILE: ...tent/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Isbn.php -------------------------------------------------------------------------------- FOUND 3 ERRORS AFFECTING 3 LINES -------------------------------------------------------------------------------- 170 | ERROR | [x] Curly brace syntax for accessing array elements and string | | offsets has been deprecated in PHP 7.4 and removed in PHP | | 8.0. Found: $isbn10{$i} 188 | ERROR | [x] Curly brace syntax for accessing array elements and string | | offsets has been deprecated in PHP 7.4 and removed in PHP | | 8.0. Found: $isbn13{$i} 190 | ERROR | [x] Curly brace syntax for accessing array elements and string | | offsets has been deprecated in PHP 7.4 and removed in PHP | | 8.0. Found: $isbn13{$i} -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 3 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- FILE: ...gins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/StringLength.php -------------------------------------------------------------------------------- FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES -------------------------------------------------------------------------------- 89 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. | | The parameter "$options" was changed on line 87. 206 | WARNING | All previously accepted values for the $type parameter of | | iconv_set_encoding() have been deprecated since PHP 5.6. Found | | 'internal_encoding' 216 | WARNING | All previously accepted values for the $type parameter of | | iconv_set_encoding() have been deprecated since PHP 5.6. Found | | 'internal_encoding' -------------------------------------------------------------------------------- FILE: ...gins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/EmailAddress.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 142 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 140. -------------------------------------------------------------------------------- FILE: .../plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/Callback.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 158 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. | | The parameter "$value" was used, and possibly changed (by | | reference), on line 154. -------------------------------------------------------------------------------- FILE: .../plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Validate/NotEmpty.php -------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------- 93 | ERROR | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed to | | a parameter, but will instead provide the current value. The | | parameter "$options" was changed on line 91. -------------------------------------------------------------------------------- FILE: ...plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Mail/Protocol/Imap.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 410 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as passed | | to a parameter, but will instead provide the current value. | | The parameter "$string" was used, and possibly changed (by | | reference), on line 403. -------------------------------------------------------------------------------- FILE: ...stman/Postman-Mail/mailgun/vendor/php-http/curl-client/src/PromiseCore.php -------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------- 79 | ERROR | Using a string as the assertion passed to assert() is deprecated | | since PHP 7.2 and removed since PHP 8.0. Found: | | 'is_resource($handle)' 80 | ERROR | Using a string as the assertion passed to assert() is deprecated | | since PHP 7.2 and removed since PHP 8.0. Found: | | 'get_resource_type($handle) === "curl"' -------------------------------------------------------------------------------- FILE: .../plugins/post-smtp/Postman/Postman-Email-Log/PostmanEmailLogController.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- 216 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 502 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...h/WORK/WP/htdocs/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 148 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...gdanh/WORK/WP/htdocs/wp-content/plugins/post-smtp/Postman/PostmanUtils.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 453 | WARNING | The constant "FILTER_SANITIZE_STRING" is deprecated since PHP | | 8.1 -------------------------------------------------------------------------------- FILE: ...s/wp-content/plugins/post-smtp/freemius/includes/sdk/FreemiusWordPress.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------- 330 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | debug_backtrace(), no longer report the original value as | | passed to a parameter, but will instead provide the current | | value. The parameter "$pUrl" was used, and possibly changed | | (by reference), on line 310. -------------------------------------------------------------------------------- FILE: ...P/htdocs/wp-content/plugins/post-smtp/freemius/includes/class-freemius.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES -------------------------------------------------------------------------------- 19534 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as | | passed to a parameter, but will instead provide the current | | value. The parameter "$tag" was used, and possibly changed | | (by reference), on line 19532. 19691 | WARNING | Since PHP 7.0, functions inspecting arguments, like | | func_get_args(), no longer report the original value as | | passed to a parameter, but will instead provide the current | | value. The parameter "$tag" was used, and possibly changed | | (by reference), on line 19689. -------------------------------------------------------------------------------- Time: 3 mins, 53.98 secs; Memory: 224.01MB
- This reply was modified 2 years, 1 month ago by Steven Stern (sterndata).
- This reply was modified 2 years, 1 month ago by Steven Stern (sterndata).