Describe the bug (*)
A clear and concise description of what the bug is.
com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: PSI and index do not match.
Please report the problem to JetBrains with the files attached
file=PHP file, file.class=class com.jetbrains.php.lang.psi.PhpFileImpl, file.lang=Language: PHP, modStamp=1, psi.length=0
tree consistent
stub debugInfo=created in getStubTree(), with AST = false; with backReference
viewProvider=com.jetbrains.php.lang.PhpFileViewProvider{vFile=file:///Users/seppo/sites/yab2c/app/code/Ya/KlevuProductAutocompleteSearch/registration.php, vFileId=1727771, content=VirtualFileContent{size=273}, eventSystemEnabled=true}
viewProvider stamp: 0; file stamp: 0; file modCount: 1776257221600; file length: 273
doc saved: true; doc stamp: 0; doc size: 0; committed: true
indexing info: indexing timestamp = 1776257221600, binary = false, byte size = 273, char size = 273
ref: 20250127
latestIndexedStub=null
at com.intellij.psi.stubs.StubTreeLoader$StubTreeAndIndexUnmatchCoarseException.doCreateCompleteException(StubTreeLoader.java:224)
at com.intellij.psi.stubs.StubTreeLoader$StubTreeAndIndexUnmatchCoarseException.lambda$createCompleteException$0(StubTreeLoader.java:199)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:819)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:775)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:360)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:156)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:360)
at com.intellij.psi.stubs.StubTreeLoader$StubTreeAndIndexUnmatchCoarseException.createCompleteException(StubTreeLoader.java:198)
at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:298)
at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:897)
at com.intellij.psi.impl.source.PsiFileImpl.getChildren(PsiFileImpl.java:902)
at com.magento.idea.magento2plugin.util.magento.GetModuleNameByDirectoryUtil.execute(GetModuleNameByDirectoryUtil.java:67)
at com.magento.idea.magento2plugin.actions.CopyMagentoPath.getPathToElement(CopyMagentoPath.java:75)
at com.intellij.ide.actions.CopyPathProvider.getQualifiedName(CopyPathProvider.kt:102)
at com.intellij.ide.actions.CopyPathProvider.update(CopyPathProvider.kt:53)
at com.intellij.openapi.actionSystem.ex.ActionUtil.updateAction$lambda$0(ActionUtil.kt:289)
at com.intellij.openapi.actionSystem.ex.ActionUtil.updateAction(ActionUtil.kt:297)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$result$1$1$1.invoke(ActionUpdater.kt:591)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$result$1$1$1.invoke(ActionUpdater.kt:590)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$callAction$2$1.invoke(ActionUpdater.kt:194)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:119)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$0(InternalReadAction.kt:109)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0$0(cancellableReadAction.kt:32)
at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:900)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1266)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0(cancellableReadAction.kt:30)
at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:168)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0(cancellableReadAction.kt:28)
at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)
at com.intellij.concurrency.ThreadContext.installThreadContext$default(threadContext.kt:303)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:24)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:108)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:94)
at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:81)
at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:23)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$3.invokeSuspend(InternalReadAction.kt:43)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$3.invoke(InternalReadAction.kt)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$3.invoke(InternalReadAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:286)
at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:42)
at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:75)
at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
at com.intellij.openapi.application.CoroutinesKt.constrainedReadActionUndispatched(coroutines.kt:92)
at com.intellij.openapi.application.CoroutinesKt.readActionUndispatched(coroutines.kt:77)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$callAction$$inlined$useWithScope$1.invokeSuspend(trace.kt:145)
at com.intellij.openapi.actionSystem.impl.ActionUpdater$callAction$$inlined$useWithScope$1.invoke(trace.kt)
at
To Reproduce (*)
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior (*)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
- OS: Mac OS X 26.4.1
- PhpStorm/Intellij version: 2026.1
- Plugin Version: 2026.1.1
Additional context
Add any other context about the problem here.
Describe the bug (*)
A clear and concise description of what the bug is.
To Reproduce (*)
Steps to reproduce the behavior:
Expected behavior (*)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
Additional context
Add any other context about the problem here.