View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12190 | Bug reports | Plugins | public | 2017-03-10 15:07 | 2020-03-13 18:47 |
Reporter | tammo | Assigned To | |||
Priority | normal | Severity | block | ||
Status | closed | Resolution | open | ||
Target Version | 3.0.x | ||||
Summary | 12190: Fatal error when plugin is missing | ||||
Description | When plugin is missing LimeSurvey crashes. Fatal error: Call to a member function readConfigFile() on a non-object in D:\Dropbox\sites\drupal\hoofdtoegang\limegit.toolsforresearch.com\public_html\application\libraries\PluginManager\PluginManager.php on line 426 I re-installed L:imeSurvey, using the old databse. Earlier I had Olle's great right-click plugin in the installation, now I forgot to place it. I think LimeSurvey should not crash, but give an error and go on... | ||||
Steps To Reproduce | Re-install Limesurvey (without additional plugins) using a database in which a plugin was activated. | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | Git Develop branche | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | ff | ||||
Database type & version | ff | ||||
Server OS (if known) | ff | ||||
Webserver software & version (if known) | ff | ||||
PHP Version | ff | ||||
Are you sure you have the last develop version ? commited here : https://github.com/LimeSurvey/LimeSurvey/commit/8307ad6e65eb43d4970be137146cb3e85b3c9651 |
|
Yes, I am sure. Just tested again: Fatal error: Class 'PluginEvent' not found in D:\Dropbox\sites\drupal\hoofdtoegang\limegit.toolsforresearch.com\public_html\application\controllers\SurveysController.php on line 43 |
|
Not same issue here, initial issue : Fatal error: Call to a member function readConfigFile() on a non-object in D:\Dropbox\sites\drupal\hoofdtoegang\limegit.toolsforresearch.com\public_html\application\libraries\PluginManager\PluginManager.php on line 426 |
|
@olle related to @deprecated issue ? Did we confirm deprecation of PluginEvent (need to use \ls\pluginmanager\PluginEvent) ? |
|
I agree with marking PluginEvent as deprecated, but not to remove it. As you say, the full namespace should be used instead. |
|
What's the status of this? |
|
See https://github.com/LimeSurvey/LimeSurvey/pull/792#issuecomment-327083001
Currently no way to have a clean 2.5X+3.0 plugin |
|
True. Although there is one dirty way: Check class_exists('\ls\pluginmanager\PluginBase') or class_exists('\LimeSurvey\PluginManager\PluginBase'), then adapt after. |
|
Yes, right … :( |
|
Still a problem? |
|
Maybe a manual part ? https://manual.limesurvey.org/Category:Plugin_Development |
|
This version of LimeSurvey is not longer supported. Please check so that the issue is fixed in a more recent version of LimeSurvey. If it's not, please reopen this bug report. Thank you. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-03-10 15:07 | tammo | New Issue | |
2017-03-11 12:05 | DenisChenu | Note Added: 43263 | |
2017-03-11 12:50 | tammo | Note Added: 43264 | |
2017-03-12 02:42 | DenisChenu | Note Added: 43265 | |
2017-03-12 02:42 | DenisChenu | Assigned To | => ollehar |
2017-03-12 02:42 | DenisChenu | Status | new => assigned |
2017-03-12 02:44 | DenisChenu | Note Added: 43266 | |
2017-03-13 11:11 | ollehar | Note Added: 43275 | |
2017-10-10 16:16 | ollehar | Status | assigned => feedback |
2017-10-10 16:16 | ollehar | Note Added: 44562 | |
2017-10-10 16:17 | ollehar | Priority | none => normal |
2017-10-10 17:45 | DenisChenu | Note Added: 44564 | |
2017-10-11 10:55 | ollehar | Note Added: 44569 | |
2017-10-11 11:05 | DenisChenu | Note Added: 44570 | |
2017-10-13 14:50 | ollehar | Note Added: 44669 | |
2017-10-13 15:11 | DenisChenu | Note Added: 44671 | |
2017-10-23 10:42 |
|
Assigned To | ollehar => LouisGac |
2020-03-13 18:47 | c_schmitz | Note Added: 56485 | |
2020-03-13 18:47 | c_schmitz | Status | feedback => closed |