Support ⇒ Dragonfly CMS v10 ⇒ [bug]tools.php abstract class issue ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

[bug]tools.php abstract class issue Reply to topic


Interesting one?
PHP Strict Standards: Static function Dragonfly\Output\Tools::minify() should not be abstract in includes/dragonfly/output/tools.php on line 18

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Are you calling the method directly? You can only call this method from a class that extends Dragonfly\Output\Tools.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I haven't called it at all - a search through my site shows it is only being called in footer.php which I obviously have to use

block-CPG_Main_Menu.php which I'm not using

includes/dragonfly/output/css.php & js.php which both extend Tools

includes/dragonfly/output/html.php - might be the issue?

The error hasn't re-appeared during the past day.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):


Yes I understood why it happen. Was a trick for a static class to force a method on each extending class, so I could safely call minify().

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


I still get the error every couple of days but have no idea what is generating it 😕

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):

All times are UTC


Jump to: