Comment out line 160. Doesn’t affect anything else and is the recommended fix.
You sir, rock.
Applied fix, worked. THANK YOU!
I’m getting the same error, but it says error on 128. When I go to look at the code, all I see a remark.
Hello,
To fix this, please FTP your site, and go to Wp-content -> plugins -> All in one calendar -> all-in-one-calendar.php and delete the following code at line 128
unset( $plugins->active[ array_search( $basename, $plugins->active ) ] );
This should fix the issue.
Thanks
Thank for the posted solutions to this issue. Very helpful!
Hello,
I am glad it worked for you 😀
Take Care
should I do the same if my message is the following
Warning: array_search() expects parameter 2 to be array, object given in /home/adminii/generationsonthemove.org/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160
Fatal error: Cannot use object of type stdClass as array in /home/adminii/generationsonthemove.org/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160
^^^ Yes. Comment out line 160.
I seem to be having the same problem at line 160, Bill. My php at line 60 is empty. Nothing there. What do I need to enter in order to “comment out” that line. I haven’t been able to find the answer by Googling.
Thanks in advance!
Commenting out works indeed. I just wonder why does time.ly does not fix the code? @jashan?
Hello @barnabasnagy,
We have already fixed it for the next release. We are hoping to release 2.0 soon, and this issue is fixed in that version.
Thanks
Thanks @jashan sounds good.
Hello @brimstoneloa,
Please mark this as resolved 🙂
Cheers!
Amen for me.
Solved via removed line #128 as per post Jashon.
Cheers mate.
Just to clarify this.
It’s line 160 in Std and line 128 in Pro.
File in question is all-in-one-event-calendar.php