No rendering after app theming install and remove

Support intro

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32
  • Operating system and version (e.g., Ubuntu 24.04):
    • Linux (webhost)
  • Web server and version (e.g, Apache 2.4.25):
    • unknown
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • NA
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • after installing . removing theming app
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • webhost
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

I have installed heming apps, and I lost the rendring . I only have raw display (menu on left, no color, no scrolling). After removing the apps, the problem is still there. I find around the net and this forum, but no smilar problem. As it is a web host, I dont have access to CLI, or php config file.

Steps to replicate it (hint: details matter!):

  1. Install theming app

Log entries

Nextcloud

The only error (many occurences) is
 Zend OPcache API is restricted by "restrict_api" configuration directive at /home/cecabos/www/nextcloud/lib/private/Config.php


Web Browser

.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

no acces to logs of http server

Configuration

Nextcloud

No acces to CLI

PASTE HERE

Apps

No acces to CLI

What, precisely, do you mean by “theming app(s)” and installing?

What apps are you referring to?
How did you install them?

In application list, one is called themeing.

I just check, and the deactivation of theming failed (Trying to access array offset on false at /xxx/nextcloud/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php#7

I dont have acces to php config of this webhost.

Is there a possibility to config nextcloud to not use opcache ?

According to doc Memory caching — Nextcloud latest Administration Manual latest documentation

PHP bundles the Zend OPcache in core since version 5.5, so you don’t need to install an opcache manually.

How can I debug the opp cache issue ?

Or removing the app theming ?

In application list, one is called themeing.
I just check, and the deactivation of theming failed

The theming app is always enable. It’s neither possible to install it separately nor possible to disable it. So I remain unclear what you did originally or are trying to do.

Trying to access array offset on false at /xxx/nextcloud/apps/settings/lib/SetupChecks/PhpOpcacheSetup.php#7

Please provide the full raw log entry / stack trace as described in the support template.

It would also be helpful if you provided your config, also as described in the support template.

Thanks for your answer.

The configuraton is in the first post

As it is a webhost, I dont have acces to all the infos required.

During incremental upgrape of an old revision of NC, I have manually activated theming, and I lost the rendering (I have raw php pages). I think it is an old revision of theming, before it was integrated in the core (I have the button to desactivate this app in application __> personalisation, but is generate an error

theming can't be disabled

I dont see this app in the app menu (list of apps)

I found a similar issue on the net

Here are the last log lines. I dont see a relation between opcache and rendering


{"reqId":"advJ7qi4MSs59R6N4uXU7QAAASs","level":3,"time":"2026-04-12T16:35:58+00:00","remoteAddr":"xx.xx.9.xx","user":"xxxxx","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/logreader/api/poll?lastReqId=advJ2aDlUNaSCRu2hms88gAAACA","scriptName":"/nextcloud/index.php","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/xxxxx/www/nextcloud/lib/private/Config.php#206","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","version":"32.0.8.2","data":{"app":"PHP"}}
{"reqId":"advJ7qDlUNaSCRu2hmtLHQAAAHs","level":3,"time":"2026-04-12T16:35:59+00:00","remoteAddr":"xx.xx.9.xx","user":"xxxxxxx","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/logreader/api/poll?lastReqId=adqEqLQETd%40v25fTojNQ3gAAA0g","scriptName":"/nextcloud/index.php","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/xxxx/www/nextcloud/lib/private/Config.php#206","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","version":"32.0.8.2","data":{"app":"PHP"}}
{"reqId":"advJ@ai4MSs59R6N4uXcQQAAAXg","level":3,"time":"2026-04-12T16:36:10+00:00","remoteAddr":"xx2.xx.9.xx","user":"xxxxx","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/logreader/api/poll?lastReqId=advJ2aDlUNaSCRu2hms88gAAACA","scriptName":"/nextcloud/index.php","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/xxxxx/www/nextcloud/lib/private/Config.php#206","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","version":"32.0.8.2","data":{"app":"PHP"}}
{"reqId":"advJ@ai4MSs59R6N4uXcNAAAAQs","level":3,"time":"2026-04-12T16:36:10+00:00","remoteAddr":"xx.xx.9.xx","user":"xxx","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/logreader/api/poll?lastReqId=adqEqLQETd%40v25fTojNQ3gAAA0g","scriptName":"/nextcloud/index.php","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/xxxx/nextcloud/lib/private/Config.php#206","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","version":"32.0.8.2","data":{"app":"PHP"}}
{"reqId":"advJ@aDlUNaSCRu2hmtR5QAAAC0","level":3,"time":"2026-04-12T16:36:10+00:00","remoteAddr":"xx.xx.9.xx","user":"xxxs","app":"PHP","method":"GET","url":"/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications","scriptName":"/nextcloud/ocs/v2.php","message":"Zend OPcache API is restricted by \"restrict_api\" configuration directive at /home/xxx/www/nextcloud/lib/private/Config.php#206","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0","version":"32.0.8.2","data":{"app":"PHP"}}

To clarify with screen capture

menu application

menu application –> personalisation

I found some logs if it can help

"Trace": [
      {
        "file": "/home/xxx/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
        "line": 627,
        "function": "disableApp",
        "class": "OC\\App\\AppManager",
        "type": "->",
        "args": [
          "theming"
        ]
      },
      {
        "file": "/home/xxxxx/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 204,
        "function": "disableApps",
        "class": "OCA\\Settings\\Controller\\AppSettingsController",
        "type": "->",
        "args": [
          [
            "theming"
          ]
        ]
      },
      {
        "file": "/home/xxx/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php"
        "line": 118,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          {
            "__class__": "OCA\\Settings\\Controller\\AppS

Solution found.

At the root of the site, there is a

.ovhconfig file :


http.firewall=none
app.engine.version=8.3
environment=production
app.engine=phpcgi
container.image=stable64

What is important is app.engine=phpcgi