View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18849 | Bug reports | Plugins | public | 2023-05-31 11:40 | 2023-08-07 16:34 |
Reporter | bismark | Assigned To | ollehar | ||
Priority | none | Severity | block | ||
Status | closed | Resolution | reopened | ||
Product Version | 5.6.x | ||||
Summary | 18849: psr-4 classes are not found in plugin | ||||
Description | please install the attached plugin, activate it and call from the command line: Error: Class "Makro\HelloWorld\HelloWorld" not found in C:\Users\marko\Projects\Kunden\franklyview\ls5\upload\plugins\He I use my own composer.json with psr-4 section, This is a real blocker for plugin development! | ||||
Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 5.6.x | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 8.0 | ||||
If you have your own vendor/ folder, you need to load the new autoload.php manually in your plugin bootstrapping code. You can get more help on the forum. |
|
Or ask on Discord. :) |
|
I did |
|
It works in LS3 |
|
How could it work in LS3 when there's no config for it in composer.json? o0 |
|
On discord «It worked for LS5 prior to v5.6.x, too» |
|
5.5.0 is the first version, it doesnt work anymore, 5.4.15 is the last version it does |
|
hm, |
|
Calling from where? Maybe it's because we removed third_party/ folder and added vendor/ instead? |
|
we do the call from our plugin-init()-method. |
|
@bismark, can we close this ticket? |
|
As per the comments, will be closing the ticket. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-31 11:40 | bismark | New Issue | |
2023-05-31 11:40 | bismark | File Added: HelloWorld.zip | |
2023-05-31 11:43 | ollehar | Note Added: 75277 | |
2023-05-31 11:43 | ollehar | Bug heat | 0 => 2 |
2023-05-31 11:43 | ollehar | Assigned To | => ollehar |
2023-05-31 11:43 | ollehar | Status | new => closed |
2023-05-31 11:43 | ollehar | Resolution | open => won't fix |
2023-05-31 11:43 | ollehar | Note Added: 75278 | |
2023-05-31 11:46 | bismark | Note Added: 75279 | |
2023-05-31 11:46 | bismark | Bug heat | 2 => 4 |
2023-05-31 11:47 | bismark | Note Added: 75280 | |
2023-05-31 12:06 | ollehar | Status | closed => feedback |
2023-05-31 12:06 | ollehar | Resolution | won't fix => reopened |
2023-05-31 12:06 | ollehar | Note Added: 75281 | |
2023-05-31 12:22 | guest | Bug heat | 4 => 10 |
2023-05-31 15:48 | DenisChenu | Note Added: 75293 | |
2023-05-31 15:48 | DenisChenu | Bug heat | 10 => 12 |
2023-05-31 15:56 | bismark | Note Added: 75294 | |
2023-05-31 15:56 | bismark | Status | feedback => assigned |
2023-05-31 16:13 | bismark | Note Added: 75297 | |
2023-05-31 16:13 | ollehar | Note Added: 75298 | |
2023-05-31 16:28 | bismark | Note Added: 75303 | |
2023-06-25 22:13 | Mazi | Note Added: 75851 | |
2023-06-25 22:13 | Mazi | Bug heat | 12 => 14 |
2023-08-07 16:34 | gabrieljenik | Status | assigned => closed |
2023-08-07 16:34 | gabrieljenik | Note Added: 76464 | |
2023-08-07 16:34 | gabrieljenik | Bug heat | 14 => 16 |