Invalid service file "core/core.services.yml" - drupal-8

I am trying to push a drupal 8 project into production but I am running into an error stated below.
The website encountered an unexpected error. Please try again later.
Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The service file "core/core.services.yml" is not valid. in Drupal\Core\DependencyInjection\YamlFileLoader->loadFile() (line 329 of /usr/www/users/playsgwjrd/web/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php).
I have tried running build.php, removing the lock composer file and vendor folder but nothing.
Drupal\Core\DependencyInjection\YamlFileLoader->loadFile('core/core.services.yml') (Line: 63)
Drupal\Core\DependencyInjection\YamlFileLoader->load('core/core.services.yml') (Line: 1316)
Drupal\Core\DrupalKernel->compileContainer() (Line: 920)
Drupal\Core\DrupalKernel->initializeContainer() (Line: 476)
Drupal\Core\DrupalKernel->boot() (Line: 692)
Drupal\Core\DrupalKernel->handle(Object) (Line: 23)
Please suggest ways on going about to fix the error.

Please check if the solution in the below URL helps. You will need to apply the patch:
https://www.drupal.org/project/drupal/issues/3007298

Related

Batch jcl error for cics web services using cics web service assistant tool

I am facing issue while submitting below job, can someone please suggest?
Error:
IEF344I KA7LS2W2 INPUT STEP1 SYSUT2 - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17501I ATTEMPT TO OPEN A UNIX FILE FAILED,
RETURN CODE IS (00000081) REASON CODE IS (0594003D)
FILENAME IS (/ka7a/KA7A.in)
JCL:
//KA7LS2W2 JOB (51,168),'$ACCEPT',CLASS=1,
// MSGCLASS=X,MSGLEVEL=(1,0),NOTIFY=&SYSUID,REGION=0M
// EXPORT SYMLIST=*
// JCLLIB ORDER=SYS2.CI55.SDFHINST
//STEP1 EXEC DFHLS2WS,
// JAVADIR='java/J7.0_64',PATHPREF='',TMPDIR='/ka7a',
// USSDIR='',TMPFILE=&QT.&SYSUID.&QT
//INPUT.SYSUT1 DD *
PDSLIB=//DJPN.KA7A.POC
LANG=COBOL
PGMINT=CHANNEL
PGMNAME=KZHFEN1C
REQMEM=PAYIN
RESPMEM=PAYOUT
MAPPING-LEVEL=2.2
LOGFILE=/home/websrvices/wsbind/payws.log `enter code here`
WSBIND=/home/webservices/wsbind/payws.wsbind
WSDL=/home/webservices/wsdl/payws.wsdl
/*
Based on the Return Code 81 / Reason Code 0594003D the pathname can't be resolved.
the message IGD17501I explains the error. You'll find more information looking up the Reason Code 0594003D.
You can use BPXMTEXT to lookup more detail on the Reason Code.
Executing this command in USS you'll see:
$ bpxmtext 0594003D
BPXFVLKP 05/14/20
JRDirNotFound: A directory in the pathname was not found
Action: One of the directories specified was not found. Verify that the name
specified is spelled correctly.
Per #phunsoft adding that the same command can be executed in TSO and is not case sensitive like USS.
I'd suspect that /ka7a doesn't exist. Is it a case issue? Or perhaps you meant /u/ka7a/ or `/home/ka7a' ?

Drupal 8 error InvalidArgumentException

i got this with drush :
InvalidArgumentException: Field field_date is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 472 of
C:\wamp\www\inf\core\lib\Drupal\Core\Entity\ContentEntityBase.php
And i don't find solutions to resolve this :/
Has anyone ever encountered this problem?
Try running domain.com/update.php and see if it helps
if this does not solve your problem I would suggest you go to admin/config/development/logging and enable backtrace and reproduce the error again and look for (or post) a bug in the first module of the backtrace

Clojure compile error - Unable to resolve symbol: this in this context

Just when I thought I had seen it all in Clojure errors I get one that is baffling. When compiling my .clj file using lein compile I'm getting this exception:
java.lang.RuntimeException: Unable to resolve symbol: this in this context, compiling:(medical_notes/read_notes.clj:135:26)
the line in the read_notes.clj file that it is pointing to (135) is simply
{:type :compute}
that's it. The word "this" does not appear anywhere in the file. That line is inside this function:
(defn m-compute
"Message sent to master to start the computation"
[]
{:type :compute})
Anyone have any idea what is confusing it?
UPDATE: after troubleshooting and trying different things I can at least say now that the line number reported with the error is totally wrong for sure. It always reports exactly the same line number (135:26) no matter what. Right now line 135 in the file is a blank line and it's still calling out that line as the problem.

ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: )

I am trying to use the StackWalker which is used to get the call stacks. While when running, the 487 error shows. Does anybody have some idea?
It just means that StackWalker couldn't find debugging information for the function at that point in the backtrace. You can just ignore it if you don't need know the source file and line number for that function. You can make it go way for functions in Windows components by using the Microsoft symbol server: http://support.microsoft.com/?kbid=311503

OpenCart dashboard error - fopen(): open_basedir restriction in effect

I have this OpenCart error on the dashboard page below...
Warning: fopen(): open_basedir restriction in effect.
File(/var/www/vhosts/domainname.com/shop/download/test) is not within the allowed path(s):
(/var/www/vhosts/Cloud2.chrisames.co.uk/:/tmp/) in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 99Warning:
fopen(/var/www/vhosts/domainname.com/shop/download/test): failed to open stream:
Operation not permitted in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 99Warning:
fwrite() expects parameter 1 to be resource, boolean given in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line
101Warning: fclose() expects parameter 1 to be resource, boolean given in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line
103Warning: file_exists(): open_basedir restriction in effect.
File(/var/www/vhosts/domainname.com/shop/download/test) is not within the allowed
path(s): (/var/www/vhosts/Cloud2.chrisames.co.uk/:/tmp/) in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line
105Warning: sprintf(): Too few arguments in
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 106
any help most appreciated :)
Use FileZilla Client (freeware, download and install it https://filezilla-project.org/download.php?type=client or download from here http://sourceforge.net/projects/filezilla/ )... and then Chmod the directories and the files...
Set directories 755, files 644. (Servers have their own rules on permissions, but those are nowadays usual.)
That will fix it for you