Updating BeTheme Fails with PHP 7.x

Running the theme update (or plugin updates through the theme options) fails on PHP version 7.x. If the PHP version is downgraded to 5.6.37 the updates work.

Specifically, the PHP versions tested are as follows:
5.6.37 - Works
7.0.31 - Fails
7.1.21 - Fails
7.2.9 - Fails

The failure is a download timeout error. It says that it has downloaded X of -1 on the resulting failure page. Where X is the actual file size of the update. Therefore it isn't the download itself that fails, just the reporting mechanism. Note that is says X of "-1". I doubt the file size is supposed to be -1.

I know that BeTheme claims that it is fully compatible with PHP 7.x. However, it appears there are still some issues. Since WP 4.9.x requires PHP 7.x to properly function, this is a critical failure. Frankly, we can and have been able to downgrade the version running on a site, do the upgrade, and re upgrade back to 7.x ... however, this is a maintenance nightmare, and we would like to see BeTheme play well with 7.x

We have tested this on multiple installs (all purchased copies of BeTheme). We have tested freshly installed sites with no plugins (other than those that are bundled, required, or recommended by BeTheme), we have tried with published and active sites, and we have tried across multiple servers/environments. The error happens consistently and identically across all platforms, installs, servers and environments.

Furthermore, we receive identical results from bundled plugin updates using the theme options installer.

We have tried this on multiple websites that use BeTheme. All of them have matching results. These sites are spread across multiple dedicated private servers. The PHP options are as follows:

PHP Memory Limit 256M
PHP Time Limit 1200
WP Max Upload Size 128M
cURL: yes
DOMDocument: Yes
WP Version 4.9.8

Server Specifications are as follows:
DEDICATED (not a shared environment)
RAM: 128G
SSD: 3TB (RAID 5)
HDD: 24T (RAID 5)

Data connection is dual 10 gigabit ethernet connections to the network, and 1 gigabit to the Internet.

We posed this question privately several months ago to BeTheme. They gave us some BS about shared hosting environments and contacting our server admin .... We own the server, it is dedicated, it is plenty capable of running the sites that are installed, the connection is more than satisfactory, and we are more than capable administrators of both our servers and our websites. 

We have done extensive testing with this using many environments. This is clearly an issue with the theme, not a server or environment issue. 

We love BeTheme, and feel that your developers are very capable and confident programmers. We want to continue to use BeTheme for our projects. This is not meant in any way to be a dig or complaint about your developers abilities. Just a hope that this can be fixed in the future.

Comments

  • Hello,
    this is all about your server configuration. The theme works fine with all of the above PHP versions. If wordpress works with a certain PHP version then BeTheme will work with it as well.

    Please disble all plugin as they are in most cases the cause of the problems.
    thanks
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.