Web design & development studio
  • Home
  • Testimonials
  • Services
  • Portfolio
  • Tutorials
  • Projects
  • Contact
WordPress All in one events calendar Warning: Call-time pass-by-reference has been deprecated in class-ai1ec-events-helper.php
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
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


+ two = 10

FREE PRICE QUOTE
  • Flyer, Brochure Design and Templates
    Flyer, Brochure Design and Templates Brochure design (custom) and templates for email marketing o...
  • Responsive Web Design / Graphic design
    Responsive Web Design / Graphic design Responsive web design starts at the PSD graphic, way before ...
  • Newsletter packages
    Newsletter packages Communication is the key when it comes to customer relations...
  • E-Commerce website development
    E-Commerce website development We build Fast, Secure and SEO friendly e-commerce websites. ...
  • Web Design & Development
    Web Design & Development Web design is our #1 skill. From photoshop website layout de...

Contact Us

Your message was successfully sent. Thank You!
Our Latest Clients
GET NOTICED ONLINE!
Blissful Interfaces. A Professional Web Design Company

Recent Tutorials

  • 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
  • Free web safe fonts that are beautiful
    Free web safe fonts that are beautiful

Enter your email address to subscribe to this blog and receive notifications of new tutorials by email.

Login

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