Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

oc news doesn't work with oc 9.1.2 #1020

@dh-connect

Description

@dh-connect

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

Explain the Problem

What problem did you encounter?
news can be enable but it doesn't load, browser screen stays white

Steps to Reproduce

Explain what you did to encounter the issue

  1. download latest news app + sudo -u www-data make
  2. nano /appinfo/info.xml - remove 64 bit condition
  3. enable news apps

System Information

  • News app version: 8.8.2
  • ownCloud version: 9.1.2
  • PHP version: 7.0.12-1
  • Database and version: mysql 5.6.30-1+b1-log
  • Browser and version: firefox 49.0.2
  • Distribution and version: Linux raspberrypi 4.4.23-v7+ armv7l GNU/Linux

Contents of owncloud/data/owncloud.log

BadFunctionCallException: lastModified is not a valid attribute

    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Entity.php - line 145: OCP\AppFramework\Db\Entity->setter('lastModified', Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Entity.php - line 69: OCP\AppFramework\Db\Entity->__call('setLastModified', Array)
    [internal function] OCP\AppFramework\Db\Entity fromRow(Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Mapper.php - line 331: call_user_func('OCA\\News\\Db\\Fee...', Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Mapper.php - line 350: OCP\AppFramework\Db\Mapper->mapRowToEntity(Array)
    /data/ownclouddata/www/owncloud/apps/news/db/feedmapper.php - line 69: OCP\AppFramework\Db\Mapper->findEntities('SELECT `feeds`....', Array)
    /data/ownclouddata/www/owncloud/apps/news/service/feedservice.php - line 72: OCA\News\Db\FeedMapper->findAllFromUser('xxx')
    /data/ownclouddata/www/owncloud/apps/news/controller/feedcontroller.php - line 64: OCA\News\Service\FeedService->findAll('xxx')
    [internal function] OCA\News\Controller\FeedController->index()
    /data/ownclouddata/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 159: call_user_func_array(Array, Array)
    /data/ownclouddata/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php - line 89: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\News\Controller\FeedController), 'index')
    /data/ownclouddata/www/owncloud/lib/private/AppFramework/App.php - line 99: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\News\Controller\FeedController), 'index')
    /data/ownclouddata/www/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 46: OC\AppFramework\App main('OCA\\News\\Contro...', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
    [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
    /data/ownclouddata/www/owncloud/lib/private/Route/Router.php - line 280: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
    /data/ownclouddata/www/owncloud/lib/base.php - line 891: OC\Route\Router->match('/apps/news/feed...')
    /data/ownclouddata/www/owncloud/index.php - line 54: OC handleRequest()
    {main}

error in news cron job 

Error while running background job (BadFunctionCallException): lastModified is not a valid attribute

OC\BackgroundJob\Legacy\RegularJob Array

    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Entity.php - line 145: OCP\AppFramework\Db\Entity->setter('lastModified', Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Entity.php - line 69: OCP\AppFramework\Db\Entity->__call('setLastModified', Array)
    [internal function] OCP\AppFramework\Db\Entity fromRow(Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Mapper.php - line 331: call_user_func('OCA\\News\\Db\\Fee...', Array)
    /data/ownclouddata/www/owncloud/lib/public/AppFramework/Db/Mapper.php - line 350: OCP\AppFramework\Db\Mapper->mapRowToEntity(Array)
    /data/ownclouddata/www/owncloud/apps/news/db/feedmapper.php - line 92: OCP\AppFramework\Db\Mapper->findEntities('SELECT `feeds`....')
    /data/ownclouddata/www/owncloud/apps/news/service/feedservice.php - line 166: OCA\News\Db\FeedMapper->findAll()
    /data/ownclouddata/www/owncloud/apps/news/utility/updater.php - line 45: OCA\News\Service\FeedService->updateAll()
    /data/ownclouddata/www/owncloud/apps/news/cron/updater.php - line 33: OCA\News\Utility\Updater->update()
    [internal function] OCA\News\Cron\Updater run()
    /data/ownclouddata/www/owncloud/lib/private/BackgroundJob/Legacy/RegularJob.php - line 31: call_user_func(Array)
    /data/ownclouddata/www/owncloud/lib/private/BackgroundJob/Job.php - line 52: OC\BackgroundJob\Legacy\RegularJob->run(Array)
    /data/ownclouddata/www/owncloud/cron.php - line 122: OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
    {main}

Contents of Browser Error Console

Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put here


Paste output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions