I used the prestashop debug and this is the error it gives me and I don't know how to fix it.
ContextErrorException Notice: Undefined index: navigationPipe
in
2be2345a97d28ff58ebcd22196932ea8bbcedf26_2.file.mailalerts-account.tpl.php
line 63
Can you put the line of this file:
WEBSITE/var/cache/dev/smarty/compile/2b/e2/34/2be2345a97d28ff58ebcd22196932ea8bbcedf26_2.file.mailalerts-account.tpl.php
Regards
Related
Getting a weird error I've never seen before while trying to upload a new module to zef using the App::Mi6 mi6 release command:
==> Step 9. UploadToZef
Are you sure you want to upload Directory-0.0.1.tar.gz to Zef ecosystem? (y/N) y
Executing /Users/steve/.rakubrew/versions/moar-2022.12/bin/rakudo -e use Fez::CLI --file=Directory-0.0.1.tar.gz upload
>>= Looking in "Directory-0.0.1.tar.gz" for META6.json
=<< No single root directory found, all dists must extract to a single directory
Failed
in method upload at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/sources/12D2D4FC78FDF40E8B7DEC72AF31ECED31A67D08 (App::Mi6::Fez) line 19
in method run at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/sources/A4949DB54562D3B5154DD447B5CC2C730F09B0E5 (App::Mi6::Release::UploadToZef) line 24
in method run at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/sources/BDF7095037EE976677901A8557FD533DCDC6FD65 (App::Mi6::Release) line 49
in method cmd at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/sources/299DED9746B9228495A0B5E829FE0A6BBD7DFE88 (App::Mi6) line 162
in sub MAIN at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/resources/5831540356728593B89C55370F0C33F8DD0813F5 line 20
in block <unit> at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/resources/5831540356728593B89C55370F0C33F8DD0813F5 line 5
in sub MAIN at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/mi6 line 3
in block <unit> at /Users/steve/.rakubrew/versions/moar-2022.12/share/perl6/site/bin/mi6 line 1
Google turns up nothing on this error. This means I've found a major bug or the three glasses of wine I've had tonight have me doing something really stupid. :)
OK, this is a bug related to how the fez module interacts with how tarballs are generated on a mac.
A pull request has been made to address this issue: https://github.com/tony-o/raku-fez/pull/74.
I'm not sure what accounts for things working on 2022.07 and not 2022.12 version of raku.
I just install Cplex on my mac(m1). When I run any example code, it shows this error.
File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site- packages/docplex/cp/solver/solver_local.py", line 120, in init
raise CpoException("Executable file '{}' does not exists".format(xfile))
CpoException: Executable file 'cpoptimizer' does not exists.
What's the main issue here?
Issue Solved:
Just change this line
msol = mdl.solve(TimeLimit=10) to
msol = mdl.solve(TimeLimit=10, execfile='/Applications/CPLEX_Studio221/cpoptimizer/bin/x86-64_osx/cpoptimizer')
I have a simple issue "Array and string offset access syntax with curly braces is deprecated", but I am not sure where to go to fix it.
How do I enable line numbers to show?
you can activate the debug function in main.php file. This file located in protected/config folder.
Edit as following:
locate the 'log' array inside the file
uncomment the CWebLogRoute in the array
If you do it right, then when error shows up, you can see the error location.
How your main.php log config looks like when uncomment
When I run the php bon/console cache:clear I have this error :
Invalid resource provided: "1.2"; Errors: [ERROR 1843] Element '{urn:oasis:names:tc:xliff:document:1.2}trans-unit': Character content other than whitespace is not allowed because the content type is
'element-only'. (in /var/www/html/myproject/ - line 5, column 0)
I checked my xlf, files they look good, all the more I don't know witch one to check.
Any idea ?
Problem solved even if I did not exactly understood what was the problem.
I tried to reinstall all my vendors by removing my vendor folder and executing composer update
The error does not appear any more
I create javascript project and bower.json. After adding dependencies as follow gives me red-cross on project->bower_components->bootstrap->grunt->change-version.js file and query->src file:
"dependencies":{
"bootstrap":"~3.3.7"
}
This is first problem:
Description Resource Path Location Type
Expected name at 2:1 .eslintrc.json /gruntTest/bower_components/jquery/src line 2 JSON Problem
Second problem:
Description Resource Path Location Type
Unexpected token ILLEGAL change-version.js /gruntTest/bower_components/bootstrap/grunt line 1 JavaScript Problem
I assumed that eclipse neon doesn't need to download Nodeclipse & Enide and try to practice from scratch thats the reason error happened.
Nodeclipse & Enide must installed before practicing nodejs in eclipse.
I followed this link and worked great.
http://www.nodeclipse.org