RSS Feed/News CLI runner fails catastrophically if you try and "use" a trait included from a composer package in an addon

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,956
Points
823

Reputation:

Okay - so here's a weird edge case I haven't been able to work out yet.

I'm building an addon. This addon uses a composer package. The composer package has a trait. I want to "use" that trait from the composer package in one of my commands.

Adding the "use" clause causes the XenForo command runner to fail catastrophically (as in, you can't run any commands at all), with an error message saying that the trait was not found.

Using the same trait from the same composer package in a...

Read more

Continue reading...
 
Status
Not open for further replies.
Top