Andrews32
Forum Replies Created
-
Additional errors:
1)
protected function row_actions( $actions, $always_visible = false ){ // Warning: count(): Parameter must be an array or an object that implements Countable in… /wp-admin/includes/class-wp-list-table.php…Not solved, just changed to: @$action_count = count( $actions );
==============
2)
foreach($actions as $action => $link){ ++$i; $sep = ( $i < $action_count ) ? ‘ | ‘ : ”; $out .= “<span class=’$action’>$link$sep</span>”; } // Warning: Invalid argument supplied for foreach()…Solved. Changed to:
if(is_array($actions) && !empty($actions)){
foreach($actions as $action => $link){…}
}All these errors was found on the page “u/wp-admin/plugins.php”. WP, Woocommerce and Ajax add to cart for WooCommerce versions are latest, PHP is 7.2.
A new error ocurred while changing the mail settings:
Updated sender name ==> Click SAVE ==> error:Notice: Undefined index: license_key in /wp-content/plugins/acymailing/back/controllers/configuration.php on line 325
Also,
an error on the “Settings” page (in Russian):
“Ошибка при отправке сообщения Test e-mail from https://mysite.tld/ получателю user@mysite.tld. Could not instantiate mail function.”Additional: the “License not found” error on the “/wp-admin/admin.php?page=acymailing_configuration&ctrl=configuration” (Settings) page.
Forum: Plugins
In reply to: [Captcha Code] Can not prevent spam+1
Hello Webnus, the problem is solved. It only appears on WP themes without featured image option.
UPD: the issue appears on WP themes without “featured image” option in posts/pages. In this case, you can add the necessary PHP code to your current WP theme`s “functions.php” file to enable the “featured image” option.
While “featured image” option exists, just set featured image and it will work fine on the Tile View (and for any other views).
While waiting for plugin author`s responce, I temporarily solved it via “Custom field suite” plugin:
- create a new field for “mec-events” post type
- paste background-image url to the field on any event
- go to plugin folder (once) and change some code in render.php
- ???
- PFORIT
Changed some strings in render.php. Now $background_image temporary loads from Custom field suite field (if exist and filled-in). I can publish the full PHP code changes if needed.
- This reply was modified 10 months, 1 week ago by Andrews32.
Forum: Plugins
In reply to: [WP Product Review Lite] Call to undefined function get_user_locale()Also, the review form (“write a review”) does not appear on the pages after adding the [P_REVIEW] shortcode. Deactivated & uninstalled.
Forum: Plugins
In reply to: [WP Product Review Lite] Call to undefined function get_user_locale()changed “return get_user_locale();” to “return true;” and the plugin (and site dashboard) started to work again.
Forum: Plugins
In reply to: [WP Product Review Lite] Call to undefined function get_user_locale()WP version is latest, but it (version) is changed manually to “99.9” to protect website from hackers.
Hi, thank you for fast & detailed reply!
My website runs on PHP 5.6 too + https (SSL).After reading your reply I enabled “Other Settings ==> DOMContentLoaded event:”, but the error still appears.
Every slide is an image (as a slide background), and no content in the slides` visual editor.
The page with slider is in the first post (under construction)
Forum: Plugins
In reply to: [WP Gallery Download Links] Parse error: syntax error, unexpected ‘[‘The solution is:
change
$url = wp_get_attachment_image_src( $id, 'full' )[0]; // returns an array
to
$url = wp_get_attachment_image_src( $id, 'full' ); // returns an array
and change
$output .= "<dt class='gallery-download'><a href='{$url}' download=''>Download</a></dt>";
to
$output .= "<dt class='gallery-download'><a href='{$url[0]}' download=''>Download</a></dt>";
Not it works!
Forum: Plugins
In reply to: [WP Gallery Download Links] Parse error: syntax error, unexpected ‘[‘Updated to WP 4.8, but the problem is still actual.
Forum: Plugins
In reply to: [WP Gallery Download Links] Parse error: syntax error, unexpected ‘[‘The 201 line is:
$url = wp_get_attachment_image_src( $id, ‘full’ )[0]; // returns an array