Actions
Bug #7011
open
crash in courses in php>5.2
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
18/03/2014
Due date:
% Done:
0%
Estimated time:
Complexity:
Normal
Description
Fatal error: Non-abstract method common\libraries\DataClassPropertyParameters::invalid() must contain body in common/libraries/php/shared/storage/data_class/parameters/property.class.php on line 108 Call Stack # Time Memory Function Location 1 0.1056 118436 {main}( ) ../index.php:0 2 0.3888 1595492 common\libraries\Application::launch( ???, ???, ??? ) ../index.php:102 3 0.3966 2401956 application\weblcms\WeblcmsManagerCourseViewerComponent->run( ) ../application.class.php:921 4 0.5239 3001584 application\weblcms\Tool::factory_and_launch( ???, ??? ) ../course_viewer.class.php:127 5 0.5249 3025812 common\libraries\SubManager::launch( ???, ???, ??? ) ../tool.class.php:155 6 0.5268 3059456 application\weblcms\tool\document\DocumentToolBrowserComponent->run( ) ../sub_manager.class.php:340 7 0.5270 3074204 application\weblcms\ToolComponent::launch( ??? ) ../browser.class.php:35 8 0.5270 3074284 common\libraries\SubManager::launch( ???, ???, ??? ) ../tool_component.class.php:177 9 0.5300 3093920 application\weblcms\ToolComponentBrowserComponent->run( ) ../sub_manager.class.php:340 10 115.3808 4751248 application\weblcms\TableContentObjectPublicationListRenderer->as_html( ) ../browser.class.php:203 11 115.3820 4777364 common\libraries\Table->as_html( ) ../table_content_object_publication_list_renderer.class.php:50 12 115.3820 4777568 common\libraries\Table->initialize_table( ) ../table.class.php:115 13 115.3864 4901812 common\libraries\SortableTable->__construct( ???, ???, ???, ???, ???, ???, ???, ??? ) ../table.class.php:146 14 115.3867 4904108 common\libraries\SortableTable->get_total_number_of_items( ) ../sortable_table.class.php:153 15 115.3867 4904136 call_user_func ( ??? ) ../sortable_table.class.php:667 16 115.3867 4904168 common\libraries\Table->count_data( ) ../sortable_table.class.php:667 17 115.3966 5129932 application\weblcms\ObjectPublicationTableDataProvider->count_data( ??? ) ../table.class.php:231 18 115.3998 5134872 application\weblcms\DataManager::count_content_object_publications_with_view_right_granted_in_category_location( ???, ???, ???, ??? ) ../object_publication_table_data_provider.class.php:118 19 115.3998 5134908 application\weblcms\DataManager::get_content_object_publications_with_view_right_granted_in_category_location_condition( ???, ???, ???, ??? ) ../data_manager.class.php:695 20 115.3998 5135000 application\weblcms\DataManager::get_publication_conditions_with_right( ???, ???, ???, ???, ??? ) ../data_manager.class.php:819 21 115.3998 5135248 rights\RightsUtil->get_identifiers_with_right_granted( ???, ???, ???, ???, ???, ??? ) ../data_manager.class.php:854 22 115.4026 5139160 rights\DataManager::retrieve_identifiers_with_right_granted( ???, ???, ???, ???, ???, ???, ??? ) ../rights_util.class.php:253 23 115.4027 5140368 spl_autoload_call ( ??? ) ../rights_util.class.php:105 24 115.4027 5140424 common\libraries\Utilities::autoload( ??? ) ../rights_util.class.php:0 25 115.4028 5140956 common\libraries\Autoloader::load( ??? ) ../utilities.class.php:617 26 115.4028 5142032 require_once( '/home/kmoerman/Code/chamilo/common/libraries/php/shared/storage/data_class/parameters/distinct.class.php' ) ../autoloader.class.php:568 27 115.4028 5142204 spl_autoload_call ( ??? ) ../autoloader.class.php:13 28 115.4028 5142260 common\libraries\Utilities::autoload( ??? ) ../autoloader.class.php:0 29 115.4029 5142792 common\libraries\Autoloader::load( ??? ) ../utilities.class.php:617
Files
Updated by Anonymous about 9 years ago
- Subject changed from crash in courses after recent pull to crash in courses in php>5.2
related to https://support.chamilo.org/issues/6995
crashes the installation when signature isabstract public static function invalid();
crashes the course app when signature ispublic static function invalid();
This line should be removed; a method cannot be static (== owned by the enclosing class) and abstract (== deferred to a deriving class) at the same time. Alternatively,a default static implementation can be provided (no longer abtract, but overridable in subclasses).
Actions