Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: tags

tags 3 months 4 weeks ago #1237

  • veronique m
  •  veronique m's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
:blush:

I had this error, when I tried to uncheck the tags in the general settings :

Catchable fatal error: Object of class WP_Error could not be converted to string in /web/quatrepiliers/www/wordpress/wp-content/plugins/another-events-calendar/public/partials/events/aec-public-single-event-display.php on line 64
The administrator has disabled public write access.

tags 3 months 3 weeks ago #1238

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 235
  • Thank you received: 49
  • Karma: 8
1. Open /wp-content/plugins/another-events-calendar/public/partials/events/aec-public-single-event-display.php

2. Find the line,
<?php if( $tags ) : ?>

3. Replace it as,
<?php if( ! empty( $general_settings[ 'has_tag' ] ) && $tags ) : ?>

4. Save the changes and try now.

Hope, this solved your issue.
Last Edit: 3 months 3 weeks ago by Super User.
The administrator has disabled public write access.

tags 3 months 1 week ago #1241

  • veronique m
  •  veronique m's Avatar
  • Offline
  • New Member
  • Posts: 15
  • Karma: 0
Hello,
It seems ok now, thanks !
v
The administrator has disabled public write access.
Time to create page: 0.125 seconds