Error App\\Application when upgrading version of CakePHP from 3.6 to 3.7 - cakephp-3.0

My application is working if the version of my cake is 3.6.7 then after upgrading it to version 3.7.* it causes an error when running my application.
here's the error at apache:
PHP Fatal error: Uncaught Error: Class 'App\Application' not found
in /var/www/html/test/webroot/index.php:37\nStack trace:\n#0 {main}\n
thrown

Related

Working with font-awesome 4.7 in extjs 7.3

I was upgrading an app build with an old extjs framework version (v 6.7) which used the old font-awesome package up to v4.7 I guess. I upgraded the app now to the 7.3 framework version which uses the new font-awesome package. Now my question is, is there a possibility to use the old package instead? I tried just swapping out the package folders but sencha cmd then throws a fashion error like this:
[LOG] Fashion Error : Reference to undeclared variable : $fa_fw_width :
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR] at net.sf.antcontrib
[ERR] .logic.IfTask.execute(IfTask.java:217)
What I tried as well was swapping the data in the ext\packages\font-awesome\resources\fonts folder, which seemed to make no difference.
and swapping out both folders (\resources and \sass) lead to this building failure:
[LOG] Fashion Error : Reference to undeclared variable : $fa_var_thumbtack :
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Fashion build exited with code : 1
[ERR] at org.apache.tools.
[ERR] ant.taskdefs.Sequential.execute(Sequential.java:68)

Angular6 getting error when building site for production

I was using Angular: 6.0.3 and when I updated my angular using npm update I am getting error when I am trying to build site for production.
When I am running command:
ng build --prod
I am getting error:
ERROR in ./src/app/app.module.ngfactory.js Module build failed: TypeError: Cannot read property '_statSync' of undefined
Current angular version is: 6.1.10
Full error you can see it here:Full error report link
That error is because of the version of cache-loader in package.json file. just run npm update and you will get cache-loader 1.2.5 they have fixed this in updated version.

CakePHP DebugKit error

I get this error in my CakePHP 3 app
Fatal error: Call to undefined method Cake\Database\Query::toArray() in /home/rrd/public_html/sanga/vendor/cakephp/debug_kit/src/Panel/VariablesPanel.php on line 77
Cake 3.1.8
DebugKit 3.2.4
Any idea what is this?
Update: It seems the error comes up when I have some sql error.

Error building server: An error occurred while resigning test.apk

Whenever i try to run the following command:
java -jar selendroid-standalone-0.15.0-with-dependencies.jar -app test.apk
I get the following error:
io.selendroid.standalone.SelendroidLauncher launchServer
SEVERE: Error building server: An error occurred while resigning the app 'test.apk'.
Exception in thread "main" io.selendroid.server.common.exceptions.SessionNotCreatedException: An error occurred while resigning the app 'test.apk'.
The same question has been posted earlier.
Kindly respond if anyone has the solution to it.
Thanks.
System requirements on the selenroid website:
Java SDK (minimum 1.6) must be installed and JAVA_HOME configured. IMPORTANT: If JAVA_HOME is pointing to a Java runtime environment, selendroid will produce errors because tools like the jarsigner are not available!

Error when installing Hadoop 2.3.0 on Windows 7

I am following the installation process outlined in the link:
http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os
When running the 'start-dfs' command I get the following error:
FATAL namenode.NameNode: Exception in namenode join
java.lang.UnsatisfiedLinkError: org.apache.hadoop.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
Any suggestions on how to fix this and finish configuring Hadoop? Thanks!