Open ilemonajames opened 7 years ago
How do I resolve the error am using the traditional file structure... Not pointin to it by xampp apache virtual host
That error doesn't have anything to do with file structure. The markdown converter that was used had an old version of the lib. I think this got fixed in a recent PR, so try pulling down the latest code from the develop branch and that should fix that error.
just Replace parent class constructors with __construct
and call them as parent::__construct
in extended classes
I think Bonfire is no longer been supported
On Sat, Nov 24, 2018 at 10:36 AM Pankaj Vaghela notifications@github.com wrote:
Did anyone solve this issue [image: image] https://user-images.githubusercontent.com/24723708/48966588-7a72b380-effa-11e8-9a80-916b5eb583f3.png
This is getting on nerves
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ci-bonfire/Bonfire/issues/1273#issuecomment-441355229, or mute the thread https://github.com/notifications/unsubscribe-auth/AT8Mj1RKl3GRgeyJ4vn5NTwmcPZzwEfIks5uyRMugaJpZM4N3FBi .
@ilemonajames it is.
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtraExtended_Parser has a deprecated constructor
Filename: helpers/markdown_extended_helper.php
Line Number: 10
Backtrace:
File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page
File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor
Filename: helpers/markdown_helper.php
Line Number: 223
Backtrace:
File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: _error_handler
File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: require_once
File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page
File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Methods with the same name as their class will not be constructors in a future version of PHP; MarkdownExtra_Parser has a deprecated constructor
Filename: helpers/markdown_helper.php
Line Number: 1696
Backtrace:
File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: _error_handler
File: C:\xampp\htdocs\bonfire\bonfire\helpers\markdown_extended_helper.php Line: 2 Function: require_once
File: C:\xampp\htdocs\bonfire\application\third_party\MX\Loader.php Line: 123 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\core\BF_Loader.php Line: 57 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\drivers\CommonMark_MarkdownExtended.php Line: 41 Function: helper
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 98 Function: init
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark\CommonMarkDriver.php Line: 79 Function: loadLibrary
File: C:\xampp\htdocs\bonfire\bonfire\libraries\CommonMark.php Line: 128 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 373 Function: convert
File: C:\xampp\htdocs\bonfire\bonfire\modules\docs\controllers\Docs.php Line: 111 Function: read_page
File: C:\xampp\htdocs\bonfire\index.php Line: 314 Function: require_once