Exposure error helper.php on line 2487

marq_104 , February 20 2023, 11:52
M
marq_104 23
February 20 2023, 11:52 #421
Greetings,
I'm getting this error on some pages.
Notice: Undefined variable: catId in .../modules/mod_nx_exposer/helper.php on line 2487
I do not get the error anywhere on this website, https://upgrade4.zpmswl.de/ however.
Your Beta version works very well
marco 467
February 22 2023, 08:41 #422
Hi marq_104
Thanks for your Feedback, the mentioned issue could happen if the module is used in Dynamic Article Mode on a page that is not a Joomla! article - it was just a little logic error inside the code.
>> I've updated the Beta Version in the Download Section if you please could re-download & install the Version Exposer 1.8.0 Beta from within your Downloads area the issue should be gone.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
February 23 2023, 09:56 #423
THANKS!!!

I'll let you know when it works.
M
marq_104 23
March 01 2023, 09:33 #426
Now getting following error:
Trying to get property 'image_intro' of non-object in /modules/mod_nx_exposer/helper.php on line 1208.
https://upgrade4.bus-dienst.info/anmelden
Perhaps there is a way to exclude links to all modules like 'search', 'log-in' and modules like newsletter-signup.On same page: Why are any categories showing? On this page 3 categories are shown. The only category I should see is the category of the current item if it has one.
If the item being viewed is NOT an article, the exposure module should be displayed or not depending on settings from "Featured items". If "HIDE" then the module should not be shown.
marco 467
March 01 2023, 12:02 #427
Hi marq_104
Thanks for your Feedback I will have a look into this error.
About the visibilit of articles. In the current Beta the Module will show Across Categories if not set, Please be aware that in your case you want to not load anything but it's realistic that another one wants to show articles depending on other filter settings if the module got loaded Outside of the article context.
The "Featured Items" is a completly different thing and relies on the Joomla Article's Feature to mark certain articles as "featured".
Please be aware - its still a beta Version and i will add such a functionality (hide if dynamic context is not given) based on your feedback.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
March 01 2023, 12:41 #428
Perhaps we only need to solve this issue: Trying to get property 'image_intro' of non-object in /modules/mod_nx_exposer/helper.php on line 1208.
I have another website where everything works well except for this error on some articles.
Question: What happens when the active link is a module like 'search' or 'login' (which don't have categories)? What would Exposure (dynamic) show?
marco 467
March 01 2023, 12:47 #429
Your current Version would load all articles based on the other filters setted up beside the category filter. And the new release (updated a few seconds ago) will do this too BUT you got an option now to "Force" Dynamic Mode: "Select yes and the module will only be rendered if it got displayed on an article page (com_content). Select no if you want to use the module on other pages too, but then no Dynamic Filtering takes place. Other filters besides the category filter still takes place. Default is Yes."
I've tried also to fix this Bug on line 1208 but i'm not quite sure if its solved or not because i could'nt reproduce it on my side.
The new Beta Build is ready for download in your Downloads Area
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
March 01 2023, 12:57 #430
I can create a user so you can see the errors I'm seeing.
Where can I send login info?
marco 467
March 01 2023, 13:01 #431
You can enter it inside a response here in a Private section (using the lock icon) or by mail: support(at)nx-designs.ch (that way we can also talk in german ;-))
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
M
marq_104 23
March 01 2023, 13:02 #432
 1
Just tried the new beta version. I'm not seeing errors AND I am only seeing articles listed from SAME category.

THANKS!!!