PHP 8 upgrade problem with Dokan plugin

Hello,
This is a continuation if this thread. Breadcrumbs error - updating to X theme v10

Summary: You have checked for us the problem with breadcrumbs after the upgrade of the theme and php 8. We have removed entirely the customization of the breadcrumbs as it doesn’t work with X 10.

However, the php 8 upgrade still doesn’t work properly. Activating Dokan plugin cases error on category pages. The error is not present with the default 2023 theme. We have prepared staging environment where you may see the error in action.

Can you please advise?

Best regards,
Mike at Deweertsport

Hi Mike,

Thanks for reaching out.
The breadcrumb issue was with our Theme. The issue you described here is coming from a 3rd Party plugin, and we don’t have any control over the code. I would suggest you contact the plugin author on this.
I would also suggest you activate any default theme like TwentyTwenty and check if the issue still exists or not, if you find that the issue only persists with our theme you can let us know for further investigation.

Please remember that we don’t offer any support to 3rd Party plugin or related issues.

Thanks

Hi,

It is only with the X theme. If 2023 theme is active, there is no issue. I only activate the theme + woocommerce + dokan.
As explained above we have a staging environment where we did this. Credentials are shared in my previous message.

Thanks again

Yes, the issue only persists with X theme + dokan + woocommerce.

Let me know if you need anything else from me.

Hi Mike,

I have checked the said plugin in my local environment but didn’t find any issues with it. I have also checked your category page, but I didn’t find any issues with it. Can you please provide any screenshot marked with the issue or any video that helps us recognize the problem?

Thanks

Hi,

Now the error is not present. Did you do any change? Or could it be something else, like server level cache?

The error on the staging was that the category page ( the dokan store) was not showing products. There was no php warning displayed. The page simply loaded with empty product section. This only happened on php 8 upgrade on the condition the X theme was activated and after degrading to 7.4 it was fine again.

I still have the problem on the production site, so I need to know what changed. If you give us a timeframe when you will be checking we are willing to upgrade to php 8 on the production so you may see the error.

Best,
Mike

I don’t think anything was changed our end, as this was sent to me and I’m just reading this now. Is this staging site running PHP 8 right now? A server cache issue is always a possibility. When LiteSpeed was disabled does the issue persist? It’s just this page right?
I would make sure deprecation warnings are turned off if you are going to PHP 8 this is something we are fixing in the latest release.

Is this staging site running PHP 8 right now? - Yes and it’s all good.
A server cache issue is always a possibility. - The servers on production and on staging are different configurations, though. And the error shows the same.
When LiteSpeed was disabled does the issue persist? - Actually on production it is Apache server, and Litespeed on Staging. We haven’t changed any cache settings on server.
Here are the system reports for both in case it brings any light : https://we.tl/t-3EZ9N9flSP
It’s just this page right? - All category pages of woocommerce, /product-categorie/ some-link

We are willing to let you do a check on the production, we will enable maintenance mode if you can fix a timeframe you will be testing in.

Hi Mike,

If it is all good in PHP version 8, it may not be a problem further. I would suggest you let us know if you find any problem in your live server for further investigation.

Thanks

There is a problem at production. We tested it. The same issue occurs.

The problem occured also on Staging as explained above until your collegue check. Then it was not present anymore.

Thank you for your time checking. I believe it will be best if you can log in and see it on the production in convenient time for you. Please let us know what date and time and we will enable maitenance mode and update to php 8 for you to see the problem.

Hey Mike,

We cannot give an exact date and time but you can just let us know when you have enabled the maintenance mode because we are all working on different time zone which mean that there’s always someone to check the thread.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.