MukurtuCMS / mukurtucms

GNU General Public License v2.0
81 stars 36 forks source link

PHP message: PHP Deprecated: Creation of dynamic property MemCacheDrupal::$bin is deprecated #163

Closed cpunj closed 6 months ago

cpunj commented 7 months ago

Hi team,

I recently started having an issue with Memcache module in our installation of Mukurtu. We have been running Mukurtu using PHP 8.3.2-1+ubuntu20.04.1+deb.sury.org+1 for a while now but suddenly for some reason, it has started acting weird on us. Facet APIs for dynamic filtering and search keep appearing and disappearing when the cache is cleared. Once they appear after the cache and you select any of the filters, they disappear again. I tried reverting to the PHP 7.4 again but that did not solve the issue. Neither did reinstalling the Memcache module work. Can you please suggest what can be the fix here?

Regards, cpunj

Before cache is cleared After cache is cleared error
alexmerrill commented 7 months ago

Hello -

I don't have a lot of experience with Memcache and Mukurtu/Drupal myself. We can do a little investigation and see if we have any ideas. What version of the Drupal Memcache Module are you using? Does your site work as expected without the Memcache module present?

Thanks -- AM

cpunj commented 6 months ago

Hi Alex,

Thanks for responding. The site works when I disabled the memcache module but the caching issue still exists. I believe it is -memcached 1.5.22 which shows up when I type the command 'memcached -h". We have managed to solve it by using the Advanced options for the "Browse" page and setting the cache settings to "search based" rather than "Time based".

Thank you

Kind regards, cpunj