Jump to content

Chris027

Clients
  • Posts

    705
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Chris027

  1. Getting this error in the log, quite a bit lately. Any help is appreciated. 

     

    GeoIP Error
    
    Requested IP: xxxxxxxxxxxxxxxxx
    
    Response:
    IPS\Http\Response Object
    (
        [httpResponseVersion] => 1.1
        [httpResponseCode] => 401
        [httpResponseText] => Unauthorized
        [httpHeaders] => Array
            (
                [Content-Type] => text/plain;charset=UTF-8
                [Content-Length] => 19
                [Connection] => keep-alive
                [Date] => Mon, 24 Oct 2022 04:22:12 GMT
                [Set-Cookie] => AWSALBCORS=Lnu1fs2wWARTmrZHlhqIjt+6nOUFwcwpKETfmzntCo3HQAS/pboQNk9Nf0fiy0mJ3HponxIlANNYMRObhcbCT0MF3JNmlv00F+n9KblMSi8e/aQDRlP0JApQMHNP; Expires=Mon, 31 Oct 2022 04:22:12 GMT; Path=/; SameSite=None
                [Server] => Apache
                [X-Cache] => Error from cloudfront
                [Via] => 1.1 xxxxxxxxxxxxxxxxx.cloudfront.net (CloudFront)
                [X-Amz-Cf-Pop] => ORD56-P2
                [X-Amz-Cf-Id] => gwZhJjkbkqCY4RH-tbPikLM7kGuEe1aIhs9g0lNW0OUq9iy2Ixt17Q==
            )
    
        [cookies] => Array
            (
                [AWSALB] => Array
                    (
                        [value] => Lnu1fs2wWARTmrZHlhqIjt+6nOUFwcwpKETfmzntCo3HQAS/pboQNk9Nf0fiy0mJ3HponxIlANNYMRObhcbCT0MF3JNmlv00F+n9KblMSi8e/aQDRlP0JApQMHNP
                        [Expires] => Mon, 31 Oct 2022 04:22:12 GMT
                        [Path] => /
                    )
    
                [AWSALBCORS] => Array
                    (
                        [value] => Lnu1fs2wWARTmrZHlhqIjt+6nOUFwcwpKETfmzntCo3HQAS/pboQNk9Nf0fiy0mJ3HponxIlANNYMRObhcbCT0MF3JNmlv00F+n9KblMSi8e/aQDRlP0JApQMHNP
                        [Expires] => Mon, 31 Oct 2022 04:22:12 GMT
                        [Path] => /
                        [SameSite] => None
                    )
    
            )
    
        [content] => License Key Invalid
    )

     

    BACKTRACE

    #0 /mysite/system/GeoLocation/GeoLocation.php(559): IPS\_Log::log()
    #1 /mysite/init.php(927) : eval()'d code(36): IPS\_GeoLocation::getByIp()
    #2 /mysite/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\memberscountry_hook_dispatcherFront->init()
    #3 /mysite/index.php(13): IPS\_Dispatcher::i()
    #4 {main}

     

  2. This morning the dailyStreamSubscriptions task started having issues. It seems stuck, and I can't figure it out. Any help is much appreciated.

    System Log says this, every 20 minutes, starting about two hours ago.

    RuntimeException::0

    Only subclasses of Dispatcher can be instantiated

    BACKTRACE

    #0 /my-site-removed.tld/system/Theme/Theme.php(603): IPS\_Dispatcher::i()
    #1 /my-site-removed.tld/applications/gallery/Application.php(221): IPS\_Theme->css()
    #2 /my-site-removed.tld/applications/gallery/sources/Album/Item.php(454): IPS\gallery\_Application::outputCss()
    #3 /my-site-removed.tld/system/Content/Search/Results.php(191): IPS\gallery\Album\_Item::searchResultExtraData()
    #4 /my-site-removed.tld/applications/core/sources/Stream/Subscription.php(155): IPS\Content\Search\_Results->init()
    #5 /my-site-removed.tld/applications/core/sources/Stream/Subscription.php(91): IPS\core\Stream\_Subscription->getContentForStream()
    #6 /my-site-removed.tld/applications/core/tasks/dailyStreamSubscriptions.php(50): IPS\core\Stream\_Subscription::sendBatch()
    #7 /my-site-removed.tld/system/Task/Task.php(375): IPS\core\tasks\_dailyStreamSubscriptions->IPS\core\tasks\{closure}()
    #8 /my-site-removed.tld/applications/core/tasks/dailyStreamSubscriptions.php(51): IPS\_Task->runUntilTimeout()
    #9 /my-site-removed.tld/system/Task/Task.php(274): IPS\core\tasks\_dailyStreamSubscriptions->execute()
    #10 /my-site-removed.tld/system/Task/Task.php(237): IPS\_Task->run()
    #11 /my-site-removed.tld/applications/core/interface/task/task.php(58): IPS\_Task->runAndLog()
    #12 {main}

     

  3. 4 minutes ago, Michael R said:

    After switching to back to PHP 7.4 from PHP 8.1, I can no longer access the AdminCP. I am getting the error below. How can I access AdminCP to restore?

     

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

    Can you temporarily switch back to 8.1 to look at the global template for customizations?

  4. OK @InvisionHQ I found the issue. When I have the option to Show other adverts from the same category enabled, everything works perfect.

     

    As soon as I disable this option, I get the template error. 

     

    Could contain: Text, Page, Text Message

     

     

    This one also causes the template issue, but only when it's disabled.

     

    Could contain: Text, Page

  5. I continue to try to figure out what's up with this. I have a beta site up running PHP 8.1 and IPS 4.7.3. The beta site doesn't show the error. Here's the complete error on the production site:

    TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /mywebsite/system/Theme/Theme.php(885) : eval()'d code:5688
    Stack trace:
    #0 /mywebsite/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_classifieds_front_view->view()
    #1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()
    #2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage()
    #3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()
    #5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute()
    #6 /mywebsite/index.php(13): IPS\_Dispatcher->run()
    #7 {main}
    
    
    
    
    BACKTRACE
    
    #0 /mywebsite/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
    #1 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()
    #2 /mywebsite/system/Dispatcher/Controller.php(118): IPS\classifieds\modules\front\classifieds\_view->manage()
    #3 /mywebsite/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #4 /mywebsite/applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()
    #5 /mywebsite/system/Dispatcher/Dispatcher.php(153): IPS\classifieds\modules\front\classifieds\_view->execute()
    #6 /mywebsite/index.php(13): IPS\_Dispatcher->run()
    #7 {main}

     

  6. 4 hours ago, InvisionHQ said:

    have you edit Classifieds template?

    OK, I just checked the Classifieds template and see no edits. You can see on this one "view" referenced in the error, the Revert button is grayed out. 

    Could contain: Text

     

    I also just created a new stock theme and didn't change anything. Switched to that theme, and still got the error about the template.

    Last, the template error only displays when I view a product for sale in the classifieds. 

  7. 1 hour ago, InvisionHQ said:

    I've upload now in the marketplace Classifieds v2.3.5 with the fix for 
    Fatal error: Declaration of IPS\classifieds\_Advert::getItemsWithPermission

    No issue identified with php8.


    Could contain: Text, Business Card, Paper

    I’m guessing this won’t address the issue I posted above. Bummer. 
    Even when using the stock IPS theme I see the issue.  
    Any clues how I can troubleshoot it to figure it out?

  8. I have no clue if this can help anyone, help me, but here is what I think I see in the logs.

     

    Error - ...applications/classifieds/modules/front/classifieds/view.php(192): IPS\Theme\_SandboxedTemplate->__call()...

    line 192 ...

    \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'view' )->view( $this->advert, $commentsAndReviews, $this->advert->nextItem(), $this->advert->prevItem(), $cfields, $otherAdverts, $otherCatAdverts );

     

     

    Error - ...applications/classifieds/modules/front/classifieds/view.php(59): IPS\Content\_Controller->execute()...

    line 59

    parent::execute();

     

  9. Shoot, now I’m getting another error with php 8.1 and ips 4.7.3. 
     

    Template classifieds/front/view/view is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

     

×
×
  • Create New...