For any others experiencing this issue here are some suggestions…
Offered with no warranty, please test in your own environment before implementation in production sites… YMMV (-:
With much gratitude to @leroyrosales and his forked 3.0.0 version at https://github.com/leroyrosales/all-in-one-event-calendar
To mitigate many of the Deprecation notices being generated in the version 3.0.1 of the plugin you will need to update a number of functions in two library scripts to include the #[\ReturnTypeWillChange] attribute.
See: https://www.php.net/manual/en/class.returntypewillchange.php
Also see this very detailed StackOverflow answer for more info and potentially more suggestions about resolving this issue permanently rather than simply supressing the deprecation notices:
https://stackoverflow.com/questions/71133749/reference-return-type-of-should-either-be-compatible-with-or-the-re
For example,
/**
* @overload ArrayAccess::offsetGet()
*/
#[\ReturnTypeWillChange]
public function offsetGet( $offset ) {
return $this->get_scalar( $offset );
}
Change \lib\http\request\abstract.php to update these functions
public function offsetGet
public function offsetSet
public function offsetUnset
Change lib\iCal\helper\SG_iCal_Line.php to update these functions
public function offsetExists
public function offsetGet
public function offsetSet
public function offsetUnset
public function count
public function getIterator