1283 Posts
Bucklash
5 years ago
2
Topic

Hi Klas

SOLVED: See GitHub for solution to my issue (certain files were not deleted upon upgrade...)

Question regarding usage within 

  • Seblod 3.16.2
  • Joomla 3.8.10
  • Scenario: I have a content type, that when saved, updates a different content type via AFTERSTORE

In AFTERSTORE:

OLD SYNTAX...
$content = new JCckContentJoomla_Article;

Result: Success

If I use the documented new syntax i.e.

NEW SYNTAX...
$content = new JCckContentArticle; 
Result: Cannot instantiate abstract class JCckContentArticle

$content = JCckContentArticle::getInstance( 1097 ); 
Result: Call to undefined method JCckContentArticle::getInstance()

I have updated all that there is to update, as far as I can tell.

Article Storage would be updated with Seblod Core update anyway...

I am not the best at navigating Seblod code, therefore bit stuck on what I should try or where I am slipping up.

(In a different post you made a suggestion in the past of using require_once, which helped but I assume that would not be the intention/requirement for the above classes, and also, wouldn't overcome the error messages).

Thanks for any insights

Jon

Get a VIP membership
4229 Posts
Kadministrator
5 years ago
1
Level 1

aliases aren't loaded for some reason, just use old names..

1283 Posts
Bucklash
5 years ago
0
Level 2

Ok

I will test in next releases.

I’ll do a github issue

Cheers

Get a Book for SEBLOD