Jump to content

Whoops Exception Unable to load dynamic library 'php_intl.dll'


Recommended Posts

We've recently been getting an error message on our WHMCS where when logging in, when attempting payment collections manually, and when navigating the site generally.  Because errors were hidden, we would just get the "Oops!  Something went wrong and we couldn't process your request" page.  This wasn't a huge issue because we could just refresh the page and it would display correctly afterwards.  However, now we are getting complaints from users that state the payments they submitted wouldn't go through and we can confirm this by checking that Stripe received the Oops page as well.  

I pulled a copy of the site over to a dev domain and was able to see what the error was (attached).  The system is stating that it couldn't find our php_intl.dll but I confirmed that it is installed in our version of php (7.4).   Is this a known reported issue and is there a way to correct this?

Our WHMCS is fully up-to-date on 8.3.1.

Screen Shot 2021-11-17 at 10.50.41 AM.png

Link to comment
Share on other sites

  • 2 weeks later...

Solved:

I found that I had other websites that were producing similar issues and I saw this as one of the paths that were being checked "/opt/cpanel/ea-php74/root/usr/lib64/php/modules/php_intl.dll.so"

So I figured that if I created a file in that directory and used the intl.so file instead I could potentially fix the issue.  I used the cp intl.so php_intl.dll.so command and confirmed that it didn't break my system.  Then I navigated to the WHMCS site that we run and attempted to produce the error (generally happens when navigating back and forth between logging in as a client).  Instead, I received a whoops error message that stated the system had already loaded an intl file.  I removed the new php_intl.dll.so file that I created in my system path and now it works on php 74.  Thanks everyone for your help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated