UNDEFINED VARIABLE: FIELDTYPE

More
9 years 9 months ago #23389 by seadinnovations
Plugin works for sobipro as expected but I get the following :

NOTICE: UNDEFINED VARIABLE: FIELDTYPE IN C:\ZEND\APACHE2\HTDOCS\MAPMOTIONS_COM\COMPONENTS\COM_COMPROFILER\PLUGIN\USER\PLUG_MYSOBIPRO\MYSOBIPRO.PHP ON LINE 191
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23393 by nordmograph
Hello

Can you try this:
Open
components/com_comprofiler/plugin/user/mysobipro.php
add:
Code:
$fieldtype= array();
right after
Code:
$totalentries = 0;
Let me know if it fixes the notice.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23394 by seadinnovations
Now I get :
Code:
NOTICE: UNDEFINED INDEX: IN C:\ZEND\APACHE2\HTDOCS\MAPMOTIONS_COM\COMPONENTS\COM_COMPROFILER\PLUGIN\USER\PLUG_MYSOBIPRO\MYSOBIPRO.PHP ON LINE 192

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23395 by seadinnovations
after line #62
Code:
$sobipro_fields_params = $params->get('sobipro_fields');

the $sobipro_fields_params keeps <undefined> as my debugger says
(if that is any help)

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23400 by seadinnovations
Set joomla Error Reporting back to normal and notices gone ... ;)
Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.324 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.