Jump to content

Shirayukiie

Rookie
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Language
    English
  • Software
    IPS4
  • Version
    4.2

Recent Profile Visitors

914 profile views

Shirayukiie's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. When i clicked Apply Patch i was redirected back to WebFlake 4.4.4 release and it does not contain the patch. Anyway, resolved this myself by editing .../applications/nexus/modules/admin/customers/purchases.php Go to line 294 and comment out the entire try block until line 306. /* Handle submissions */ if ( $values = $form->values() ) { /* Generate Invoice */ $invoice = new \IPS\nexus\Invoice; $invoice->currency = $this->purchase->renewal_currency; $invoice->member = $this->purchase->member; /*try { $invoice->billaddress = $this->purchase->original_invoice->billaddress; } catch( \OutOfRangeException $e ) # original invoice doesn't exist { try { $invoice->billaddress = \IPS\GeoLocation::buildFromJson( \IPS\Db::i()->select( 'address', 'nexus_customer_addresses', array( "member=? AND primary_billing=?", $this->purchase->member->member_id, 1 ) )->first() ); } catch( \UnderflowException $e ) { } # no billing primary address set }*/ $invoice->addItem( \IPS\nexus\Invoice\Item\Renewal::create( $this->purchase, $values['renew_cycles'] ) ); $invoice->save(); $invoice->sendNotification(); Boom it works like a charm again! (Obviously does not work for you who still needs to use billing adress tho)
  2. Hi, Im using Commerce only for virtual items so billing adressses are not necessary. Since IPB 4.4.X getting this error: TypeError: Argument 1 passed to IPS\nexus\_Invoice::set_billaddress() must be an instance of IPS\GeoLocation, null given, called in /home/user/public_html/system/Patterns/ActiveRecord.php on line 372 (0) #0 /home/user/public_html/system/Patterns/ActiveRecord.php(372): IPS\nexus\_Invoice->set_billaddress(NULL) #1 /home/user/public_html/init.php(867) : eval()'d code(686): IPS\Patterns\_ActiveRecord->__set('billaddress', NULL) #2 /home/user/public_html/applications/nexus/tasks/generateRenewalInvoices.php(106): IPS\Patterns\rules_hook_ipsPatternsActiveRecord->__set('billaddress', NULL) #3 /home/user/public_html/system/Task/Task.php(255): IPS\nexus\tasks\_generateRenewalInvoices->execute() #4 /home/user/public_html/applications/core/modules/admin/settings/advanced.php(709): IPS\_Task->run() #5 /home/user/public_html/system/Dispatcher/Controller.php(85): IPS\core\modules\admin\settings\_advanced->runTask() #6 /home/user/public_html/applications/core/modules/admin/settings/advanced.php(34): IPS\Dispatcher\_Controller->execute() #7 /home/user/public_html/system/Dispatcher/Dispatcher.php(152): IPS\core\modules\admin\settings\_advanced->execute() #8 /home/user/public_html/admin/index.php(14): IPS\_Dispatcher->run() #9 {main} Since most of my customers dont enter any adress and its returning a null value cause of that is there any way to bypass this easily? Thanks a lot in advance
  3. The default theme Did it again and refreshed cache, went over every plugin and finally found the culprit: Kitchen Sink 20.0.0 Disabled By All Astronauts https://all-astronauts.com
  4. Yeah that's what I did. And it does work on the exact same theme (IPS Default) unmodified but as soon as i hit Revert Theme the error comes back... Not sure what it is doing or some of my files corrupt or what? :s hard
  5. [[Template core/front/global/commentEditLine is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Getting this error on default theme after upgrading from 4.3.6 to 4.4.4, reverted the template and it still persists. What to do? Additional debug logs: Error: Undefined constant 'IPS\HTMLENTITIES' in /home/user/public_html/system/Theme/Theme.php(845) : eval()'d code:2569 Stack trace: #0 /home/user/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->commentEditLine(Object(IPS\forums\Topic\Post), false) #1 /home/user/public_html/system/Content/Comment.php(648): IPS\Theme\_SandboxedTemplate->__call('commentEditLine', Array) #2 /home/user/public_html/system/Theme/Theme.php(845) : eval()'d code(1201): IPS\Content\_Comment->editLine() #3 /home/user/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_widgets->postFeed(Object(IPS\Patterns\ActiveRecordIterator), 'Latest News', 'horizontal') #4 /home/user/public_html/system/Widget/Widget.php(234): IPS\Theme\_SandboxedTemplate->__call('postFeed', Array) #5 /home/user/public_html/system/Content/WidgetComment.php(422): IPS\_Widget->output(Object(IPS\Patterns\ActiveRecordIterator), 'Latest News') #6 /home/user/public_html/system/Widget/Widget.php(765): IPS\Content\_WidgetComment->render() #7 /home/user/public_html/system/Theme/Theme.php(845) : eval()'d code(17567): IPS\_Widget->__toString() #8 /home/user/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('header', 'horizontal') #9 /home/user/public_html/system/Theme/Theme.php(845) : eval()'d code(6588): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #10 /home/user/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('', '\n<div id="elCms...', Array) #11 /home/user/public_html/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #12 /home/user/public_html/system/Dispatcher/Standard.php(118): IPS\_Dispatcher->finish() #13 /home/user/public_html/system/Dispatcher/Front.php(579): IPS\Dispatcher\_Standard->finish() #14 /home/user/public_html/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish() #15 /home/user/public_html/index.php(13): IPS\_Dispatcher->run() #16 {main}
  6. Keep yourself patched and always be up to date with any exploitations on the software u are running, and also firewalls can help.
  7. Dark is nicer to the eyes on late evenings. But prefer light for the readability. Just get a good monitor
  8. I prefer Fortnite over PUBG because it is at least a somewhat stable game without performance issues
  9. On a really good sale, sure But overall, it is not much of a necessity these days.
  10. Welcome to the WebFlake realms mate Hope you enjoy it here as good as I do!
  11. Sup laique, welcome to a great realm of opportunity. See you around
  12. Welcome Siriox, this place is lit so im sure you will enjoy your stay just like me! Have a good one
    Did not work on custom database record view..
×
×
  • Create New...