I am migrating a website from J2.5 to J3.6 and experiencing issues with several custom extensions. I have one custom, admin only Community Builder plugin and two custom, admin only components for Community Builder that need to be converted to run on Joomla 3.6+, CB 2.1.+, PHP 7+
The plugin is a simple incremental membership number assignment plugin that generates a sequential number on membership registration.
The plugin is throwing these errors:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE (cb_memnum='' or cb_memnum=0 or cb_memnum=1 or cb_memnum is NULL) and use' at line 1
Deprecated: Non-static method CBfield_memnum::generateID() should not be called statically, assuming $this from incompatible context in F:\xampp5.6\htdocs\2017-vcoa\components\com_comprofiler\plugin\user\plug_cbmemnum\[url removed, login to view] on line 50
The first CB component is list generator that will pull a list of members depending on field selections and generate a CSV file for postal mailing.
The second CB component is similar to the first, but will print membership expiration reminder post cards or address labels.
Both components are throwing “Component not found” errors and I believe issues with these statements:
$session =& JFactory::getSession();
$db =& JFactory::getDBO();
$limit = $mainframe->getUserStateFromRequest( '[url removed, login to view]', 'limit', $mainframe->getCfg('list_limit'), 'int' );
$limitstart = $mainframe->getUserStateFromRequest( $option.'limitstart', 'limitstart', 0, 'int' );
These extensions have been used since J1.5, converted to J2.5 and now need to be upgraded to run on J3.6+. I believe all of the issues involve fairly simple changes to update deprecated syntax.
10 freelancers are bidding on average $153 for this job
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks