wassem mansour
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [RTMKit] Fatal errorplease go to file
/public_html/wp-content/plugins/rometheme-for-elementor/modules/updates/updates.php
Current (PHP 8+ only)
static function update_is_available(self $self = new self()): bool
{Fixed (PHP 7.4-compatible)
static function update_is_available(self $self = null): bool
{
if ($self === null) {
$self = new self();
}
and change line 198 tostatic function update_is_available(self $self = null): bool
{
if ($self === null) {
$self = new self();
}foreach ($self->plugins as $plugin => $data) { if (file_exists(WP_PLUGIN_DIR . '/' . $data['file'])) { $pluginInfo = $self->get_plugin_info($plugin); $pluginData = get_plugin_data(WP_PLUGIN_DIR . '/' . $data['file']); $installedVersion = $pluginData['Version']; $remoteVersion = $pluginInfo->version ?? null; if (!empty($installedVersion)) { $compare = version_compare($installedVersion, $remoteVersion, '<'); if ($compare) { return true; } return ''; } } } return false;}
Forum: Plugins
In reply to: [WooCommerce] Email verification after woo order from guest ?i have same problem with all users not only guests @automattic @konamiman please help us solve this major problem
- This reply was modified 2 years, 9 months ago by wassem mansour.
- This reply was modified 2 years, 9 months ago by wassem mansour.
the problem still exist sorry
Viewing 3 replies - 1 through 3 (of 3 total)