Fatal error: ‘break’ not in the ‘loop’ or ‘switch’ context in
. /assets/Classes/PHPExcel/Calculation/Functions.php
‘break’ not in the loop ‘or’ switch ‘context
wrong position FILE:/private/var/WWW/backend/ThinkPHP/Library/Org/Util/PHPExcel/Calculation/Functions provides PHP LINE: 576
A search on the Internet, there are indeed a lot of people also asked:
Just delete ‘break’ on line 576!
Some people on the Internet say that the higher version of PHP7.0 is only available because:
As break is after return statement, so it giving fatal error.
Because break reported a syntax error after return! That’s not true!
Others say the bug has been fixed in 1.8.1! I used 1.7.9, you must use the latest version in the future!
— —
copyright notice: this article is the original article of CSDN blogger “deep drifter”, and follows CC 4.0 by-sa copyright agreement. Please attach the link of original source and this statement to reprint.
Read More:
- Abnormal crash of APP startup — pointer being free was not allocated * * set a breakpoint in malloc_ error_ break to debug
- Angular Error You seem to not be depending on “@angular/core“ and/or “rxjs“. (Fixed)
- error: ‘stoi’ was not declared in this scope linux (Fixed)
- In R language, for loop or array truncation, the following error occurs only 0’s may be mixed with negative subscripts
- [Solved] Dev-C++ [Error] ‘for‘ loop initial declarations are only allowed in C99 or C11 mode
- In the SQL query statement, add the column that does not exist in the table and set the fixed value of the column
- How to handle when select single is not allowed in loop
- Linux shell loop in a line for while
- Docker encountered a problem 4: yaml: Line 1: mapping values are not allowed in this context
- Fixed Frame [base_link] does not exist
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- AngularJS–[ng:areq] Argument ‘xxCtrl’ is not a function, got undefined! Error (Fixed)
- Error: could not find a version that satisfies the requirement flake8 (from versions: none) (Fixed)
- The solution of “error in NLS loop more than 50” in R language
- Error in require.context in vue3 vite
- Using Mocha to test can not find module ‘. /build/release/scrypt’ (Fixed)
- Solution: error in the RPC receive loop
- Error: internal_relocation (type: OFFSET_IMM) not fixed up
- mysql error 1033 Incorrect information in file: ‘xxx.frm’ (Fixed)
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.