Replies: 2 comments
-
|
Your error seems consistent with not including a line like the following in "excel.php": require __DIR__ . '/vendor/autoload.php'; // actual location will vary depending on your environment |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi
That line is there but with “require_once”
Jan
Van: oleibman ***@***.***>
Verzonden: maandag 27 oktober 2025 16:44
Aan: PHPOffice/PhpSpreadsheet ***@***.***>
CC: j212r ***@***.***>; Author ***@***.***>
Onderwerp: Re: [PHPOffice/PhpSpreadsheet] Missing folder after compose (Discussion #4693)
Your error seems consistent with not including a line like the following in "excel.php":
require __DIR__ . '/vendor/autoload.php'; // actual location will vary depending on your environment
—
Reply to this email directly, view it on GitHub <#4693 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AYABA7BZWHTLFOSRLCLUGGD3ZY4TBAVCNFSM6AAAAACKJRY4CSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZZGUYDQMY> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AYABA7HUXZ5LVUYDG4P7RT33ZY4TBA5CNFSM6AAAAACKJRY4CSWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQA4HAUW.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
It's been a while:)
I wanted to continue my project after a year in the hospital.
First step looking if there is a new version and yes there is.
downloaded it extract the zip to a folder and composed with "composer install --prefer-source"
move the vendor folder into my test environment and start the make Excel file.
Now I have this error.
( ! ) Fatal error: Uncaught Error: Class "PhpOffice\PhpSpreadsheet\Calculation\Calculation" not found in D:\drive\Jan\Documenten\WebSites\one\janr.be\httpd.www\schaak\excel.php on line 53
( ! ) Error: Class "PhpOffice\PhpSpreadsheet\Calculation\Calculation" not found in D:\drive\Jan\Documenten\WebSites\one\janr.be\httpd.www\schaak\excel.php on line 53
Call Stack
Time Memory Function Location
1 0.0023 393656 {main}( ) ...\excel.php:0
Do I have to compose with other options or I'm a again a bit stupid?
Jan
Beta Was this translation helpful? Give feedback.
All reactions