Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on the multi page : class/TagHandler.php line 483 #12

Closed
alain01 opened this issue Dec 12, 2021 · 2 comments
Closed

Error on the multi page : class/TagHandler.php line 483 #12

alain01 opened this issue Dec 12, 2021 · 2 comments

Comments

@alain01
Copy link

alain01 commented Dec 12, 2021

Error : TypeError: Return value of XoopsModules\Tag\TagHandler::getItemCount() must be of the type int, string returned

How to get this error :

  • Use a tag word in different content (ex : mountain"), in more than 3 contents.
  • Go to the module prefernces and modify Items per page to 3
  • then go to a content with the tag "mountain" and click on the tag "mountain" in this content
  • /modules/tag/view.tag.php/mountain

=> Error: TypeError: Return value of XoopsModules/Tag/TagHandler::getItemCount() must be of the type int, string returned in file /modules/tag/class/TagHandler.php line 483

mambax7 added a commit that referenced this issue Dec 15, 2021
@mambax7
Copy link
Owner

mambax7 commented Dec 15, 2021

This should fix it: 6c80c09
Please reopen if this is still an issue

@mambax7 mambax7 closed this as completed Dec 15, 2021
@alain01
Copy link
Author

alain01 commented Dec 15, 2021

Ok Thank you Mamba.
I will test this evening or tomorrow.
It is possible that with a working pagination, I will slightly modify my bt4 templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants