Magento 1.9 on PHP 7.2 - phpseclib failed to open stream - magento

I have installed the latest Magento version 1.9.4.5 on PHP 7.2.33. At the file /var/log/system.log, I frequently see the below lines:
DEBUG (7): include(Phpseclib\Crypt\Base.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(Phpseclib\Crypt\Base.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(): Failed opening 'Phpseclib\Crypt\Base.php' for inclusion (include_path='/app/code/local:/app/code/community:/app/code/core:/lib:.:/opt/cpanel/ea-php72/root/usr/share/pear')/lib/Varien/Autoload.php
DEBUG (7): include(Phpseclib\Crypt\Blowfish.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(Phpseclib\Crypt\Blowfish.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(): Failed opening 'Phpseclib\Crypt\Blowfish.php' for inclusion (include_path='/app/code/local:/app/code/community:/app/code/core:/lib:.:/opt/cpanel/ea-php72/root/usr/share/pear')/lib/Varien/Autoload.php
DEBUG (7): include(Phpseclib\Crypt\Random.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(Phpseclib\Crypt\Random.php): failed to open stream: No such file or directory /lib/Varien/Autoload.php
DEBUG (7): include(): Failed opening 'Phpseclib\Crypt\Random.php' for inclusion (include_path='/app/code/local:/app/code/community:/app/code/core:/lib:.:/opt/cpanel/ea-php72/root/usr/share/pear')/lib/Varien/Autoload.php
I have checked the below files under the Magento root directory and they are all exist:
/lib/phpseclib/Crypt/Base.php
/lib/phpseclib/Crypt/Blowfish.php
/lib/phpseclib/Crypt/Random.php
Is this problem related with PHP 7.2?

Related

Latest NativeScript + Angular is broken

I updated nativeScript, #angular/cli and #nativescript/schematics to their latest stable version. Generated a new project as:
ng new port --collection=#nativescript/schematics --shared --style=scss --prefix=port
followed by
tns run ios --bundle
Error:
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x10da0702e NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool)
2 0x10da58f94 -[TNSRuntime executeModule:referredBy:]
3 0x10d2f50b3 main
4 0x7fff51a231fd start
5 0x1
JavaScript stack trace:
file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:32:0
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:645:1
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:9:61
at file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:12:1
at ../node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js(file:///app/vendor.js:103073:34)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at file: node_modules/#nativescript/angular/__ivy_ngcc__/platform-common.js:6:8
at ../node_modules/#nativescript/angular/__ivy_ngcc__/platform-common.js(file:///app/vendor.js:97913:34)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at ../node_modules/#nativescript/angular/__ivy_ngcc__/index.js(file: node_modules/#nativescript/angular/__ivy_ngcc__/index.js:6:17)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at ./app/app.module.tns.ts(file: src/app/app.module.tns.ts:1:0)
at __webpack_require__(file: src/webpack/bootstrap:752:0)
at fn(file: src/webpack/bootstrap:120:0)
at file:///app/bundle.js:240:96
at ./main.tns.ts(file:///app/bundle.js:298:34)
at __webpack_require__(fi<…>
JavaScript error:
file: node_modules/#nativescript/angular/__ivy_ngcc__/zone-js/dist/zone-nativescript.js:32:0: JS ERROR Error: Zone already loaded.
(CoreFoundation) *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Error: Zone already loaded
the many issue with nativescript angular9 and ivy.
but to fix this error just use zone.js 0.9.1

Getting Laravel error while hosting on shared hosting

Warning: require(/storage/ssd1/943/12963943/public_html/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /storage/ssd1/943/12963943/public_html/vendor/composer/autoload_real.php on line 66
Warning: require(/storage/ssd1/943/12963943/public_html/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in /storage/ssd1/943/12963943/public_html/vendor/composer/autoload_real.php on line 66
Fatal error: require(): Failed opening required '/storage/ssd1/943/12963943/public_html/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php' (include_path='.:/usr/share/pear:/usr/share/php') in /storage/ssd1/943/12963943/public_html/vendor/composer/autoload_real.php on line 66

Dse is not starting stating unable to write to commit log directory

I am getting below error while starting the dse:
ERROR [main] 2020-02-26 13:08:33,269 DseModule.java:97 - {}. Exiting...
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) An exception was caught and reported. Message: Unable to check disk space available to /u01/dse_ops/logs. Perhaps the Cassandra user does not have the necessary permissions
at com.datastax.bdp.DseModule.configure(Unknown Source)

Nifi-1.0 keeps crashing

I've installed NiFi 1.0 and imported a template.
I'm processing some files and after awhile NiFi crashes.
This is the error that I'm getting:
2018-10-09 18:10:07,416 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :10768:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.

H2 Trying to access /private/var/empty directory

Why is H2 trying to access the file below?
org.h2.message.DbException: Log file error: "/private/var/empty/test.trace.db", cause: "java.io.FileNotFoundException: /private/var/empty/test.trace.db (Permission denied)" [90034-195]
org.h2.message.DbException: Log file error: "/private/var/empty/test.trace.db", cause: "java.io.FileNotFoundException: /private/var/empty/test.trace.db (Permission denied)" [90034-195]
at org.h2.message.DbException.get(DbException.java:168)

Resources