Web design & development studio
  • Home
  • Testimonials
  • Services
  • Portfolio
  • Tutorials
  • Projects
  • Contact
Jan 28
Thanushka No Response Permalink

WordPress All in one events calendar Warning: Call-time pass-by-reference has been deprecated in class-ai1ec-events-helper.php

I have All in one events calendar Version 1.2.4, I love this plugin and it may be the best events calendar plugin for Wordpress.
However, It did not work properly in my site.

The warnings I received when I create a new event and publish it.

On the wordpress admin:
Warning: Call-time pass-by-reference has been deprecated in
all-in-one-event-calendar/app/helper/class-ai1ec-events-helper.php on line 851
Warning: Cannot modify header information – headers already sent by
(output started at /usr/local/pem/vhosts/113072/webspace/httpdocs/wp-
content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-events-
helper.php:851) in /usr/local/pem/vhosts/113072/webspace/httpdocs/wp-
includes/pluggable.php on line 866

 

My events page kept on showing a loader.
The following warning was on the Browser on every page of my site:
Warning: Call-time pass-by-reference has been deprecated in
/usr/local/pem/vhosts/113072/webspace/httpdocs/wp-content/plugins/all-in-
one-event-calendar/app/helper/class-ai1ec-events-helper.php on line 851 

 

Fix:

As of PHP 5.3.0 call-time pass-by-reference has been deprecated.
Open the file : Plugins/all-in-one-events-calendar/app/helper/class-ai1ec-events-helper.php in a editor.
Locate line 851

similar_text( $a, $b, &$percent );

Change the line 851 in class-ai1ec-events-helper.php to:

similar_text( $a, $b, $percent );

it will start working again (note the ampersand is gone)

 

About the author

Thanushka Thanushka More posts by this author
Plugin Development, wordpress, Wordpress CMS Development
Tweet
This is how I fixed the warnings with the wonderful help of the plugin development team. " class="pin-it-button" count-layout="horizontal"> Permalink Thanushka

Related Posts

  • Build a Responsive WordPress Theme Tutorial
  • Add custom post type in wordpress
Leave a comment

Your email address will not be published.

Click here to cancel reply.

POST COMMENT


6 + one =

Our products

Advertisement

Recent

  • Custom product search with custom filters / options for OpenCart
  • Flyer, Brochure Design and Templates
  • Responsive Web Design / Graphic design
  • Newsletter packages
  • E-Commerce website development
Our Latest Clients
GET NOTICED ONLINE!
Blissful Interfaces. A Professional Web Design Company

Recent Tutorials

  • Custom product search with custom filters / options for OpenCart
    Custom product search with custom filters / options for OpenCart
  • How to make embedded videos in WordPress responsive
    How to make embedded videos in WordPress responsive
  • WordPress All in one events calendar Warning: Call-time pass-by-reference has been deprecated in class-ai1ec-events-helper.php
    WordPress All in one events calendar Warning: Call-time pass-by-reference has been deprecated in class-ai1ec-events-helper.php
  • SEO friendly URLs in OpenCart that works
    SEO friendly URLs in OpenCart that works
  • Making WordPress video, image gallery / slideshows responsive

Our Products

Advertisement

Login

  • Lost Password
Follow Us on behanceFollow Us on deviantartFollow Us on facebookFollow Us on linkedinFollow Us on rssFollow Us on twitter
  • HOME
  • SERVICES
  • PORTFOLIO
  • BLOG
  • PROJECTS
  • CONTACT
Copyright All Rights Reserved © 2012