Omar Shamali

How to Fix RoundCube Error: Oops... something went wrong! in File libcalendaring_vcalendar.php

Author: Omar Shamali
Writing Date:

If you are facing issues with Roundcube where it says "RoundCube error : Oops... something went wrong!" upon opening a message or other actions, this might be the solution.

Follow these steps to solve fix:

  1. Connect to your server via SSH as root.
  2. Go to Roundcube folder: cd /usr/local/cpanel/base/3rdparty/roundcube/
  3. Install Sabre Dav via composer: composer require sabre/dav ~3.2.0

Specifically, if you got this error:

[22-Apr-2024 22:25:19 Asia/Jerusalem] PHP Fatal error:  Uncaught Error: Class "Sabre\VObject\Property\Text" not found in /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/lib/libcalendaring_vcalendar.php:1572

Which the trace points to file named libcalendaring_vcalendar.php:

#13 {main}
  thrown in /usr/local/cpanel/base/3rdparty/roundcube/plugins/libcalendaring/lib/libcalendaring_vcalendar.php on line 1572

 

Environment: Almalinux, WHM/cPanel 120