Jump to content

Recommended Posts

Posted

Can anyone point me in the right direction to restore the Nexus theme? I can't seem to find it. My Subscription options are not showing atm.

Thanks guys!

 

Could contain: File, Webpage, Page, Text, Computer Hardware, Electronics, Hardware, Screen

Posted

There isnt a tool which will restore just the commerce part of things. You would need to go through each of the templates and revert them if you wish to do just that product. It would be advisable to contact your theme developer

Posted
2 hours ago, Marc Stridgen said:

There isnt a tool which will restore just the commerce part of things. You would need to go through each of the templates and revert them if you wish to do just that product. It would be advisable to contact your theme developer

I have it with all themes, including the default IPB theme. 

2 hours ago, Daniel F said:

This could also be a bug which returns this message. Do you see anything being logged in your system log?

This is what I find

Error: Call to a member function sub() on null in /var/www/AM_forum/public_html/forums/applications/nexus/sources/Subscription/Package.php:741
Stack trace:
#0 /var/www/AM_forum/public_html/forums/applications/nexus/sources/Subscription/Package.php(781): IPS\nexus\Subscription\_Package->costToUpgrade()
#1 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(311): IPS\nexus\Subscription\_Package->costToUpgradeIncludingTax()
#2 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->row()
#3 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(819): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->rows()
#5 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(1084): IPS\Theme\_SandboxedTemplate->__call()
#6 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->table()
#7 /var/www/AM_forum/public_html/forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call()
#8 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7423): IPS\Helpers\Table\_Table->__toString()
#9 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#10 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#11 /var/www/AM_forum/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#12 /var/www/AM_forum/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#13 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#14 /var/www/AM_forum/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#15 {main}

 

#0 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
#1 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(819): IPS\Theme\_SandboxedTemplate->__call()
#2 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->rows()
#3 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(1084): IPS\Theme\_SandboxedTemplate->__call()
#4 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->table()
#5 /var/www/AM_forum/public_html/forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call()
#6 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7423): IPS\Helpers\Table\_Table->__toString()
#7 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
#8 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
#9 /var/www/AM_forum/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
#10 /var/www/AM_forum/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
#11 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
#12 /var/www/AM_forum/public_html/forums/index.php(13): IPS\_Dispatcher->run()
#13 {main}

 

Posted

I have this too in my admin notifications

Transactions Waiting For Payment

Transactions Waiting For Payment

[[Template nexus/admin/notifications/transactions is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

 

Posted

That doesnt appear to be the same as the above issue there. I would advise first of all ensuring you test this on a default unaltered theme

Posted

The problem has been resolved. It's not related to the theme.

Digging in the code I could see it was failing on the expire date.

/* Current Period Start Date */
$startOfCurrentPeriod = $purchase->expire->sub( $purchase->renewals->interval );

Checking the account of Ritsuke showed he had set himself a subscription on never expire.

Could contain: Page, Text

 

When I set an expire date the error is resolved and all subscriptions are visible.

 

Could contain: Page, Text

So this is a bug in IPB that will need to be handled🙂

Posted

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...