Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] peg_nested_comments
NicolasGraph wrote #305785:
you should do it via the db (usually with phpMyAdmin); after removing the plugin row in the
txp_plugin
table, you’ll also need to remove thepeg_children
column in thetxp_discuss
table.
Thank you. The same error had appeared upon install. That’s probably why I could not find a peg_children column in the txp_discuss table. My guess is that the installation process had probably aborted before writing that database table.
Offline
Re: [plugin] [ORPHAN] peg_nested_comments
gilibaus wrote #305786:
My guess is that the installation process had probably aborted before writing that database table.
Probably.
I think the error comes from the tags registering; it was added in the last compiled file and it calls a class which does not exist before Txp 4.6. without testing it.
You can wrap the related code like so to test if the class does exist:
+ if (class_exists('\Textpattern\Tag\Registry')) {
Txp::get('\Textpattern\Tag\Registry')->register('peg_comments')
->register('peg_reply_to')
->register('peg_reply_link');
+ }
…or you can remove this code but it should be updated if you use 4.6+ in the future.
I’m not sure if there are any other differences between peg_nested_comments 0.2.4 and 0.2.5.
Offline