Thread Rating:
  • 12 Vote(s) - 4.17 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyProfile - Profile Comments & more (version 1.2)
Exclamation 
When I hit "Add Comment" post to profile's comment box that didn't automatic the comment by alert or ajax however, reload the page then can see the comment display one after i posted with comment.

I checked the error logs then, I got an error from error_log files

[02-Jun-2016 16:58:12 America/Toronto] PHP Fatal error:  Class 'MyProfileCommentsMyAlertsFormatter' not found in /home/xxxxx/public_html/forums/inc/plugins/myprofile/myprofilecomments.class.php on line 1691
and i looked in myprofilecomments.class.php
        /* if the admin choosed myalerts and it exists */ elseif (($settings["mpcommentsnotification"] == "myalerts" || $settings["mpcommentsnotification"] == "myalertsoralertbar") && MyProfileUtils::myalerts_exists()) {
            $myalerts_plugins = $cache->read('mybbstuff_myalerts_alert_types');
            if (isset($myalerts_plugins[MyProfileCommentsMyAlertsFormatter::alert_type_code()])
                    && $myalerts_plugins[MyProfileCommentsMyAlertsFormatter::alert_type_code()]['enabled'] == 1) {
                $alertType = MybbStuff_MyAlerts_AlertTypeManager
                        ::createInstance($db, $cache)
                        ->getByCode(MyProfileCommentsMyAlertsFormatter::alert_type_code());
                $alert = MybbStuff_MyAlerts_Entity_Alert::make($user["uid"], $alertType, null, array("cid" => $cid));
                MybbStuff_MyAlerts_AlertManager::createInstance($mybb, $db, $cache, $alertType)->addAlert($alert);
            }
        }

This issues??? Please help this for fix issues, thanks.

Please note; if not understand what i said then I'm sorry about english isn't good or grammar about error issues it.


Brendan
Regard, Brendan (aka Brendan Wheesk)
Reply


Messages In This Thread
RE: MyProfile - Profile Comments & more (version 1.2) - by BrendanWheesk - 2016-06-02, 09:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)