Support » Plugin: A-Z Listing » I’m getting error after upgrade the plugin

  • Selva

    (@selvamsubramanyam)


    I’m getting error after upgrade the plugin and A to Z not showing, simply showing all the post.

    PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/html/wp-content/plugins/a-z-listing/src/Query.php on line 558

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Llewellyn

    (@diddledan)

    Hi,

    It appears that somehow the plugin has an empty alphabet. This can happen if you don’t have the PHP extension called mbstring enabled on your server. If enabling mbstring does not fix it, or your server already has mbstring enabled, you can try to force the plugin to recreate the alphabet by adding onto your shortcode the following (this is the default alphabet before localisation/translation from glotpress is applied so will reset the plugin to a latin alphabet – this might be undesirable if you’re using, for example, a cyrillic or hebrew or other non-latin alphabet):

    [a-z-listing ... alphabet="AÁÀÄÂaáàäâ,Bb,CÇcç,Dd,EÉÈËÊeéèëê,Ff,Gg,Hh,IÍÌÏÎiíìïî,Jj,Kk,Ll,Mm,Nn,OÓÒÖÔoóòöô,Pp,Qq,Rr,Ssß,Tt,UÚÙÜÛuúùüû,Vv,Ww,Xx,Yy,Zz"]
    
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.