-
Search Results
-
Topic: no update enfold
hello
i had to change the phpversion from 7.4 to 8.1 but it was than i discovered there was no enfold update.
check manually: it kept the old version (4.6.3.1)
automatic update: didnt work…
what to do about this?
best rerards, jelle
ps: when trying to change the phpversion i got a errormessage, site was not longer available, thats how i discovered.
apparantly the change from php7.4 to php8.1 didnt work with the enfold 4.6.3.1 version?hello at all,
meanwhile my 5. setup – and it´s always the same…
after importing the demo “dark photography” it comes to:
“Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.”
but i never get advice via email. even that doesn´t works.
is there a bug?
usually all the imports made no trouble. made that around 70x in all the years with enfold!today again: a fresh database, brandnew wp-version, new download enfold from themeforest, fresh download enfold child theme. php 8.2
could you please take a look?i really don´t know what the problem is.
thanks a lot,
felixlThe problem is that with a new installation of the theme under WP 6.3 media, the library is empty, there is no image, and the logo is missing, too…???
When installing the theme on WP version 6.2.2 everything is normal and all images are available…
Installations were done on the same server and domain and PHP version…
Below I am giving you access details, please check…—————————————————————————————————————————-
Hi,
when installing the theme under WP 6.3 the images are lost, but with WP 6.2.2 the installation is OK…
Please, see https://www.facebook.com/groups/WordpressEnfold/permalink/2629153910557493/How do I give you access to check…
Thank you so much for your attention and participation…BR
VentyTopic: Update version
Hi,
I have a license for Enfold (purchase code 27adc37c-eaf3-4b10-8c7f-7acf4e84dfbb).I am currently on version 4.4.1 and would need to update as there seem to be some php compatibility issues.
Is this possible? As I understand the purchase included updates.Thanks and regards.
Ewout van DrielI am trying to exclude posts (woocommerce products) which have a specific category (id=340) from the ‘avia_ajax_search’ popup.
have copied the function if(!function_exists(‘avia_ajax_search’))from /enfold/functions-enfold.php to /enfold-child/functions.php
Is this correct, or do i need a seperate /enfold-child/functions-enfold.phpif(!function_exists('avia_ajax_search')) { //now hook into wordpress ajax function to catch any ajax requests add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' ); add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' ); function avia_ajax_search() { global $avia_config; $exclude_category_id = 340; // Replace with the actual category ID unset($_REQUEST['action']); if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST)); if(empty($_REQUEST['s'])) die(); $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => ''); $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']); $search_parameters = array_merge($defaults, $_REQUEST); if ( $search_parameters['results_hide_fields'] !== '' ) { $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']); } else { $search_parameters['results_hide_fields'] = array(); } $search_query = apply_filters('avf_ajax_search_query', http_build_query($search_parameters)); $query_function = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults); $posts = (($query_function == 'get_posts') || !function_exists($query_function)) ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults); $search_messages = array( 'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'), 'another_search_term' => __("Please try another search term", 'avia_framework'), 'time_format' => get_option('date_format'), 'all_results_query' => http_build_query($_REQUEST), 'all_results_link' => home_url('?' . http_build_query($_REQUEST)), 'view_all_results' => __('View all results','avia_framework') ); $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query); if(empty($posts)) { $output = "<span class='av_ajax_search_entry ajax_not_found'>"; $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>"; $output .= "</span>"; $output .= "<span class='av_ajax_search_content'>"; $output .= " <span class='av_ajax_search_title'>"; $output .= $search_messages['no_criteria_matched']; $output .= " </span>"; $output .= " <span class='ajax_search_excerpt'>"; $output .= $search_messages['another_search_term']; $output .= " </span>"; $output .= "</span>"; $output .= "</span>"; echo $output; die(); } //if we got posts resort them by post type $output = ""; $sorted = array(); $post_type_obj = array(); foreach($posts as $post) { $sorted[$post->post_type][] = $post; if(empty($post_type_obj[$post->post_type])) { $post_type_obj[$post->post_type] = get_post_type_object($post->post_type); } } //now we got everything we need to preapre the output foreach($sorted as $key => $post_type) { // check if post titles are in the hidden fields list if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) ) { if(isset($post_type_obj[$key]->labels->name)) { $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name); $output .= "<h4>".$label."</h4>"; } else { $output .= "<hr />"; } } foreach($post_type as $post) { $image = ""; $extra_class = ""; // Get the categories for the post $post_categories = wp_get_post_categories($post->ID); // Check if the excluded category is in the post categories if (!in_array($exclude_category_id, $post_categories)) { // check if image is in the hidden fields list if (!in_array('image', $search_parameters['results_hide_fields'])) { $image = get_the_post_thumbnail($post->ID, 'thumbnail'); $extra_class = $image ? "with_image" : ""; $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard"; $iconfont = $image ? "" : av_icon_string($post_type); } $excerpt = ""; // check if post meta fields are in the hidden fields list if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) ) { if(!empty($post->post_excerpt)) { $excerpt = apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) ); } else { $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post ); } } $link = apply_filters('av_custom_url', get_permalink($post->ID), $post); $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>"; if ($image !== "" || $iconfont) { $output .= "<span class='av_ajax_search_image' {$iconfont}>"; $output .= $image; $output .= "</span>"; } $output .= "<span class='av_ajax_search_content'>"; $output .= " <span class='av_ajax_search_title'>"; $output .= get_the_title($post->ID); $output .= " </span>"; if ($excerpt !== '') { $output .= " <span class='ajax_search_excerpt'>"; $output .= $excerpt; $output .= " </span>"; } } $output .= "</span>"; $output .= "</a>"; } } $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>"; echo $output; die(); } }Topic: WPML problem with PHP8
Hi,
after change PHP from 7.4 to any 8 version site and admin site show errors like below:
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in
public_html/wp-content/plugins/wpml-string-translation/inc/functions.php:15
/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
/public_html/wp-settings.php(486): do_action(‘plugins_loaded’)
etc.
More details:

Thanks for help
PawelDear Enfold support team,
I hope this message finds you well. I am reaching out regarding an issue I’ve encountered with the Enfold theme on our website, https://csrf-southsudan.org/.
Upon upgrading our PHP version to 8.x, our website started displaying the following error: Fatal error: Unparenthesizeda ? b : c ? d : eis not supported. Use either(a ? b : c) ? d : eora ? b : (c ? d : e)in /home/httpd/vhosts/swisspeace.ch/csrf-southsudan.org/wp-content/themes/csrf-southsudan/functions-enfold.php on line 332.
Although we tried to address the issue by modifying the aforementioned line in the functions-enfold.php file, the problem persists. When we install and update the theme to its latest version, the site operates without the error, but some of our customized posts appear to be disrupted or data seems to be lost.We understand that this might be related to the changes in the ternary conditional operators from PHP 7.4 to 8.x.
We would greatly appreciate your guidance on how to resolve this issue without losing our theme customizations. We are eager to maintain the integrity and functionality of our site and believe that your expertise will be invaluable in this process.
Thank you for your time and assistance. We look forward to your response.
Warm regards,
Tuncay CicekYou are providers of a Theme Version, Kriesi, for my website, started in 2013. A WordPress autoupdate and a conflict with one of your Themes has destroyed my website, every page, every bit of content. I have been in contact with SiteGround and they suggest my conflict can be resolved by a Kriesi Enfold Theme Update. I am asking Kriesi support human beings to contact me directly, so I can try to bring my website back. I asked SiteGround to provide me with an email address to a human being because of this clusterfuck, and this contact form is the best they could do. We have such great companies now, they hide from their own customers. SiteGround support staff suggest this:
“As for restoring your website in a working condition, it will not be possible with the current application setting.The core files of your application require PHP above 7.0, and your theme version requires PHP 5.6 or below, and both conditions cannot be covered simultaneously.
That being said, this should be resolved with a theme version update.”
Imagine you are a musician who teaches and plays and performs music and only wants to help people learn to play and sing, so decided to have a website. Imagine 10 years of work into teaching hundreds of people only to see your website destroyed by someone else, a tech company, software on autoupdates, somewhere, run by someone, for some kind of goals, I guess . . .
Hello,
Our client has a multisite where the following error appeared on the German and Italian versions:
Deprecated: Function create_function() is deprecated in /srv/www/dia/dia.aau.at/html/staging1/wp-content/themes/enfold-child_de/functions.php on line 135
As a precaution, we generated a staging page and updated the entire pages. After the theme was finished and WordPress was also updated to 6.3, the aforementioned error message remained and another one appeared on every page and also in the backend:
Deprecated: Function Class avia_style_generator was called with an argument that is deprecated since version 5.3! Trying to set protected/private property: avia_style_generator::print_extra_output – will become unavailable in a future release. Check for a set method or a filter. in /srv/www/dia/dia.aau.at/html/staging1/wp-includes/functions.php on line 5737
How can you fix these errors?
Thank you in advance.Dear Team,
Our website employs the Enfold theme, with the current version being 3.8.5. However, when attempting to update the PHP version to the latest iteration (8.0 to 8.2), a fatal error occurs. In an effort to rectify this, we endeavored to upgrade the theme to its most recent version. Regrettably, this resulted in a complete overhaul of our website’s design.
We kindly request guidance on the optimal approach to address this issue. If necessary, I am prepared to provide the development server credentials. Below are the URLs for both the development and live websites:
Your assistance is greatly appreciated.
Hey there,
this is kind of a plugin incompatibility caused by “gravityview”. They register a shortcode with the name “gv\widgets\page_size”. Which is totally legit. When you add this shortcode name to your test Regex in class-shortcode-parser.php the “\p” triggers the error as it is a reserved group in Regex:
Warning [2] Error (E_WARNING): “preg_match_all(): Compilation failed: unknown property name after \P or \p at offset 9320“ at
./wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php:607.Obviously you cannot simply add any given shortcode to a regex without sanitizing it first. In this case: escaping possible illegal characters like “\”.
Here is the call stack:
preg_match_all, ShortcodeParser->balance_shortcode, ShortcodeParser->parse_shortcode, ShortcodeHelper::clean_up_shortcode, aviaShortcodeTemplate->shortcode_handler_prepare, do_shortcode_tag, preg_replace_callback, do_shortcode, av_privacy_class->handler_wp_footer_cookie_consent_bar, WP_Hook->apply_filters, WP_Hook->do_action, do_action(<code>wp_footer</code>), wp_footer, require_once(<code>/themes/enfold/footer.php</code>), load_template, locate_template, get_footer, include(<code>/themes/enfold/index.php</code>), require_once(<code>wp-includes/template-loader.php</code>), require(<code>wp-blog-header.php</code>)Running Enfold 5.6.2. But I don’t think you fixed something like this in the more recent versions ;-).
Thanks and best regards,
Jan









