Constant expression contains invalid operations plugin class properties visibility

Question

I have declared a private variable to hold a custom post type arguments array. I can’t understabd why when I try to activate the plugin I get always this error: Constant expression contains invalid operations.

Is there a fix?

0
, sialfa 2 years 2019-12-26T03:56:57-05:00 0 Answers 65 views 0

Leave an answer

Browse
Browse