Error on signup Bug

CMP
CMP
Offline
0
Hi,

There's an error on affiliate signup, JError class doesn't exist.
Seems there are a couple of instances left on the J4 product.
Responses (17)
  • Accepted Answer

    amelcher
    amelcher
    Offline
    Sunday, November 05 2023, 01:08 AM - #Permalink
    0
    I also have the same issue with joomla 4.4. Any luck getting a fix for this?
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Monday, November 13 2023, 04:54 AM - #Permalink
    0
    Same issue here

    Class 'JError' not found

    See debug reporting details in attached screenshot #1. In #2, the list of installed AT plug-ins

    Joomla 4.4
    Affiliate Tracker J4
    • Germinal Camps
      more than a month ago
      hello,

      when do you get this error? what is the moment in which this happens?
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Friday, November 17 2023, 04:16 AM - #Permalink
    0
    Upon submitting new affiliate enrollment form. Same error on at least 2 different websites I've checked.

    https://keenfinances.com/join-us
    • Germinal Camps
      more than a month ago
      Hello,

      I've corrected this error on Affiliate Tracker 4.0.2 which you can download. Let me know if it works.
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Friday, November 17 2023, 04:22 AM - #Permalink
    0
    Additional note: I had Affiliate Tracker J3 installed, then upgraded to J4 version, while in Joomla 3, and then migrated to Joomla 4.
    The reply is currently minimized Show
  • Accepted Answer

    amelcher
    amelcher
    Offline
    Friday, November 17 2023, 12:41 PM - #Permalink
    0
    Germinal,

    I have the same setup, J3 to J4.4 and now J5 (which should work with the compatibility plugin) but after clearing up the initial error messages, I believe it came down to the create new J! user process that seems to be cause of the issues that we have been experiencing...

    Adam
    The reply is currently minimized Show
  • Accepted Answer

    ssnobben
    ssnobben
    Offline
    Thursday, November 23 2023, 08:42 AM - #Permalink
    0
    So is this problem solved? Hope it can be Joomla 5 stable soon.. ;)
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Wednesday, November 29 2023, 11:45 PM - #Permalink
    0
    Bumping this back up. Do you need any more details to work on a solution Germinal? Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    amelcher
    amelcher
    Offline
    Wednesday, December 06 2023, 06:13 PM - #Permalink
    0
    Is this still an active project? Many of us have the same issue and haven't gotten any response from the developer in months...
    The reply is currently minimized Show
  • Accepted Answer

    ssnobben
    ssnobben
    Offline
    Wednesday, December 06 2023, 06:24 PM - #Permalink
    0
    Have not got any info update yet...
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Wednesday, December 06 2023, 06:31 PM - #Permalink
    0
    amelcher wrote:

    Is this still an active project? Many of us have the same issue and haven't gotten any response from the developer in months...


    I wouldn't call it active. If an issue arises with the component, there's no assurance that it will be addressed in timely manner. It's unfortunate, the component could be special, with more attention given to it. I won't be using it any further.
    The reply is currently minimized Show
  • Accepted Answer

    ssnobben
    ssnobben
    Offline
    Wednesday, December 06 2023, 07:31 PM - #Permalink
    0
    Ok its pity bcs I want to buy anf use this extension for Joomla 5 now but seems no action for doing this here....
    The reply is currently minimized Show
  • Accepted Answer

    amelcher
    amelcher
    Offline
    Wednesday, December 06 2023, 07:40 PM - #Permalink
    0
    In the meantime, the workaround I am using is using Fabrik, I created a form that collects the same info as the new affiliate form that is now broken on J5 sites. I use the JUser form plugin to create a new user, then the affiliate user plugin kicks in and creates a new affiliate account entry in the aaffiliate_accounts table.

    I then use the php form plugin that follows the user fabrik plugin to update the new affiliate account with the remaining information collected in the forms. It's a 2-3 hour process from start to finish, but once it's done, you get the benefits of Affiliate Tracker on J5...

    I can include more detailed info if anybody in this thread is interested....
    The reply is currently minimized Show
  • Accepted Answer

    ssnobben
    ssnobben
    Offline
    Friday, December 08 2023, 09:01 PM - #Permalink
    0
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, December 09 2023, 10:43 AM - #Permalink
    0
    JError instances have been removed from Affiliate Tracker 4.0.2
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Saturday, December 09 2023, 07:36 PM - #Permalink
    0
    Different error now, after uploading 4.0.2
    The reply is currently minimized Show
  • Accepted Answer

    Max Payne
    Max Payne
    Offline
    Saturday, December 09 2023, 07:37 PM - #Permalink
    0
    The error above occurs after submitting new affiliate account form. Same time and place of error as JError.
    The reply is currently minimized Show
  • Accepted Answer

    amelcher
    amelcher
    Offline
    Saturday, December 09 2023, 08:00 PM - #Permalink
    0
    I spent some time looking into this at the start of this thread and as I mentioned earlier, the issue isn't the Jerror (that was a symptom) the underlying issue is the extension is using deprecated Joomla code to create a new user and those functions should be updated by Germinal otherwise nobody will be able to create a new new account if it entails creating a new Joomla user.

    Also - Germinal: the ability to publish/unpublish marketing items in the backend is broken as well. I updated the following file to comply with php8 standards and it works now:
    administrator/components/com_affiliatetracker/models/marketing.php

    publish() and unpublish() functions:


    function publish()
    {
    $cids = $this->input->get( 'cid', array(0), 'default', 'array' );
    $db = Factory::getContainer()->get('DatabaseDriver');
    if (is_array($cids) && count($cids)) {
    foreach ($cids as $cid) {
    $query = $db->getQuery(true);

    // Update query
    $query->update($db->quoteName('#__affiliate_tracker_marketing_material'))
    ->set($db->quoteName('publish') . ' = 1')
    ->where($db->quoteName('id') . ' = ' . (int) $cid);

    $db->setQuery($query);
    $db->execute();
    }
    }

    return true;
    }

    function unpublish()
    {
    $cids = $this->input->get( 'cid', array(0), 'default', 'array' );
    $db = Factory::getContainer()->get('DatabaseDriver');
    if (is_array($cids) && count($cids)) {
    foreach ($cids as $cid) {
    $query = $db->getQuery(true);

    // Update query
    $query->update($db->quoteName('#__affiliate_tracker_marketing_material'))
    ->set($db->quoteName('publish') . ' = 0')
    ->where($db->quoteName('id') . ' = ' . (int) $cid);

    $db->setQuery($query);
    $db->execute();
    }
    }

    return true;
    }
    The reply is currently minimized Show
Your Reply