cfabrice
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] PHP Deprecated with PHP 8.1.xThank you !
Forum: Plugins
In reply to: [WP Fastest Cache] PHP Deprecated with PHP 8.1.xHello, this fixes my errors as well… When do you plan to release (as I have a bunch of sites concerned ;-))
Thank you !
Forum: Plugins
In reply to: [Meow Gallery] User “editor” can’t preview the gallerySame here !
Ho, I had not seen this thread: https://www.ads-software.com/support/topic/database-will-not-update-2/
and it is indeed a chrome pbl: I’ve just tried with firefox and the database updated !!!Same here, last version of wordpress, last version of give plugin. I have a little 4 next to the update submenu (my wordpress is in french). But when I go to that page and click on the update button, absolutely nothing happens (though the page reloads) and the number 4 remains… The only thing I could see is that apparently the curl version of the server is a bit outdated: “7.19.7, NSS/3.27.1 – Nous recommandons au minimum cURL 7.40.”.
Is that problematic if this update cannot be done ?
Thank you,
Fabrice (mac, last chrome, without adblocker )- This reply was modified 7 years, 6 months ago by cfabrice.
Forum: Plugins
In reply to: [The Events Calendar] List View – Next Events Link not workingSame here ! only on list view…
Any fix… my theme is based on roots.Same problem here ! with version 1.05 (contact form 7 is 4.02 and mailpoet is 2.6.14… Any hint ?
We got rid of the ajax and it worked finally !
Thank you anyway !Yes it is ! That’s the mystery we need help with ! When going to the page, the calendar loads nicely without error: monthly list of events with associated data (custom taxonomy, spectacle, image, artistes) but if we click on the nav to get to the next or previous month, we then only get the title of the first event and then the error before any associated data !!!
You are right, the snippet above is in functions.php.
But the error we are describing comes from the following line in calendar-full.php
$spectacleID = $cell_event->spectacles[0]->term_id;
You can find our full code for calendar-full.php in here
Thank you !Hello !
we manage to show our custom taxonomy associated with our events thanks to this codefunction my_em_spectacles_event_load($EM_Event){ $EM_Event->spectacles = wp_get_object_terms( $EM_Event->post_id, 'spectacle' ); } add_action('em_event','my_em_spectacles_event_load',1,1);
our problem now is that we are on full-calendar page and the ajax navigation when we change month returs the following error
Fatal error: Cannot use object of type WP_Error as array in (…)/wp-content/themes/reverie/plugins/events-manager/templates/calendar-full.php on line 102
If we change manually the links in the adress bar (for example the month parameters) the calendar is loaded correctly. It is only when we click on the arrow that we get the error.
Any idea ?
Thank you !Ok, I’ll try to follow agelonwl answer to get that custom taxonomy usable to query associated data. Thank you.
Ok, I tried but no, this is not working with your last line of code. Doesn’t matter !
The site works with the trick of sharing the post category among events, and other custom posts but it would be more elegant and easier to publish on it if we were able to use our custom taxonomy (spectacle).
In another thread you suggested me to follow this agelonwl’s comment.
So I will try and question on that thread if I have further questions. Thank you.Sorry for this ! There was so many possibilities to do this.
We managed but it is not very orthodox I guess:we just change
something in line 5 of em-posts.php
if( !defined('EM_TAXONOMY_CATEGORY') ) define('EM_TAXONOMY_CATEGORY','category'); // instead of if( !defined('EM_TAXONOMY_CATEGORY') ) define('EM_TAXONOMY_CATEGORY','event-categories');
And then we were able to use the “post category” with the events.
Thank you for your plugin !ok, thank you !