Related Items Extended show incorrectly on menu items
- Posted by Magnus Ehinger (33) Offline
I use two instances of Related Items Extended on my site, for example ehinger.nu/undervisning/kurser/kemi-1/le...atomens-byggnad.html under "Trendar just nu" (to the left) and "Se också:" (bottom of page). If I go into an article, they both show up correctly, but not in the menu items.
I have set "Hide if empty" to "Yes", but the error message "Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/ehinger.nu/public_html/undervisning/modules/mod_relateditems_xtd/mod_relateditems_xtd.php on line 51" still appears.
Can you help me troubleshoot this issue?
Yours,
/Magnus
4 years 11 months ago #1
by Magnus Ehinger
I have set "Hide if empty" to "Yes", but the error message "Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/ehinger.nu/public_html/undervisning/modules/mod_relateditems_xtd/mod_relateditems_xtd.php on line 51" still appears.
Can you help me troubleshoot this issue?
Yours,
/Magnus
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi mehinger, is this link ehinger.nu/undervisning/kurser/kemi-1/le...atomens-byggnad.html an article?
The module will work in the article page only.
Is it possible for you to provide temporary access to your website so I can check it by myself? If it's possible you can enter the details using the "You Site Details" tab below. Only support team who are able to see that.
4 years 11 months ago #2
by TemplatePlazza
The module will work in the article page only.
Is it possible for you to provide temporary access to your website so I can check it by myself? If it's possible you can enter the details using the "You Site Details" tab below. Only support team who are able to see that.
Please Log in or Create an account to join the conversation.
- Posted by Magnus Ehinger (33) Offline
No, the article mentioned is a menu item. Any of the links below "Innehåll (videogenomgångar)" lead to articles. It used to show up nicely before, but since my site was moved to a new server on jan 2, 2020, it now shows incorrectly. I have provided site details in the tab below.
4 years 11 months ago #3
by Magnus Ehinger
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi mehinger, Do you remember what changed when you moved your website to the new server? For example php version, joomla version or something else?
4 years 11 months ago #4
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by Magnus Ehinger (33) Offline
I'm sorry, no – the web hotel I used was bought by another company, and the complete website was moved to another server without my prior knowledge.
4 years 11 months ago #5
by Magnus Ehinger
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Ok, I can replicate the issue. It’s a incompatibilty issue with PHP 7.3 (which is used by your new server). I’ll work on it and back to you very soon
4 years 11 months ago #6
by TemplatePlazza
Please Log in or Create an account to join the conversation.