• Resolved squivo

    (@squivo)


    Just installed the new version, and this is the error I get when I try to navigate to my posts… So, in the admin panel menu, I try to navigate to the ‘posts’ section -> get redirected to my 404 page, then I can’t use the dashboard icon to get back to the admin panel. I have to go to themes or something, and then the plugin becomes deactivated with this error.

    All-in-One Event Calendar has been disabled due to an error:
    Argument 1 passed to Ai1ec_Event_Parent::post_row_actions() must be an array, null given, called in /home/blah/blah/blah/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/registry/object.php on line 211 and defined

    Not gonna lie, I love this plugin, but every time there is an update I cringe.

    https://www.ads-software.com/plugins/all-in-one-event-calendar/

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter squivo

    (@squivo)

    I followed your steps exactly but it didn’t solve the problem. I tried different themes as well -> same result.

    One other thing to note about my setup is that I do not have wordpress in the root folder -> I have wordpress installed one folder down https://mysite.ca/wordpress/wp-content…. maybe this is important information?

    Thread Starter squivo

    (@squivo)

    I also tried deleting old events, but nothing is working. ??

    Thread Starter squivo

    (@squivo)

    So, I didn’t want to do this, but I disabled the array enforcement for the post_row_actions function on line 169 of app/model/event/parent.php ( where the error was being generated from ) and it works now…

    changed
    public function post_row_actions( array $actions, $post ) {
    to
    public function post_row_actions( $actions, $post ) {

    Is there any good reason for forcing the $actions variable to be an array?

    Thread Starter squivo

    (@squivo)

    In the code, above that function, there are comments relating to modified instances and recurring events which I have a lot of, so I’m guessing that one of my recurring events is causing the NULL to be passed into that post_row_actions function. I’m going to leave it for now, but it maybe something to look into?

    Thread Starter squivo

    (@squivo)

    ‘crickets’…

    oh well, the time.ly people don’t care but maybe this helps someone else.

    Thread Starter squivo

    (@squivo)

    marking as resolved.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘2.3.12 broken’ is closed to new replies.