Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all 64413 articles
Browse latest View live

Fatal error in traceErrorMsg() on PHP 7.1.

$
0
0

Replies: 1

Hi folks, one of my users encountered an error on a site that uses WPML (for multi-lingual pages) and OSM plugin. While creating a new translation of a page at /wp-admin/post.php?post=2&action=edit&lang=en they encountered a fatal PHP error: Fatal error: Uncaught Error: Using $this when not in object context in .../wordpress/wp-content/plugins/osm/osm.php on line 249 which was triggered by this OSM error: [OSM-Plugin-Error]:Array hast got wrong file extension (gpx, kml)!. While there may be other conflicts with these two plugins, fixing the fatal PHP error in the OSM plugin allows the editor to load successfully on PHP 7.1.29 even though the OSM error flashes a bit.

Here is a patch to fix the fatal error in the OSM plugin:

diff --git a/wp-content/plugins/osm/osm.php b/wp-content/plugins/osm/osm.php
index 60a0dd6..11b71c4 100644
--- a/wp-content/plugins/osm/osm.php
+++ b/wp-content/plugins/osm/osm.php
@@ -246,7 +246,7 @@ class Osm
 
   public static function traceErrorMsg($e = '')
   {
-   if ($this == null){
+   if (!isset($this) || $this == null){
      return $e;
    }
    $EMsg = $this->ErrorMsg->get_error_message($e);
  • This topic was modified 32 minutes ago by Adam Franco. Reason: fix code formatting

Hide Quantity Option based on multiple criteria

$
0
0

Replies: 0

I have a subscription website. I have 4 subscriptions ( 3 months, 6 months, 1 yr, unlimited ). I dont want to show quantity option of those 4 categories single product page. I want that quantity option in Add To Cart page.

Sorting & Filters buttons Javascript Errors

$
0
0

Replies: 0

Hi there,

On my listings page, when I click Filters, View As or Sort By, the buttons don’t do anything. When I look into the console I see javascript errors. Here are a couple:

Uncaught TypeError: $(…).tooltip is not a function
at search-listing.js:13
at search-listing.js:119
main.js?ver=5.0.5:691 Uncaught TypeError: $(…).tab is not a function
at main.js?ver=5.0.5:691
at main.js?ver=5.0.5:698

Any suggestions or debug help?

I am running the latest version of WordPress as well as latest version of this plugin.

Thanks

Change color of hamburger?

$
0
0

Replies: 0

Hi!

I’m using the default theme – and the hamburger icon (lines) in the responsive menu are white – I’d like them to be black. Is that possible? I can’t seem to find the appropriate style to change –

Thank you!

PHP Notices

$
0
0

Replies: 0

Can you tell me what these notices are and how to stop them? They’re showing up in our debug log:

[01-Jul-2019 21:09:21 UTC] PHP Notice: Undefined index: delete-duplicate-posts/freemius in /home/**/public_html/wp-content/plugins/wp-contact-slider/freemius/start.php on line 184
[01-Jul-2019 21:09:21 UTC] PHP Notice: Trying to get property of non-object in /home/**/public_html/wp-content/plugins/wp-contact-slider/freemius/start.php on line 189
[01-Jul-2019 21:09:29 UTC] PHP Notice: Undefined index: delete-duplicate-posts/freemius in /home/**/public_html/wp-content/plugins/wp-contact-slider/freemius/start.php on line 184
[01-Jul-2019 21:09:29 UTC] PHP Notice: Trying to get property of non-object in /home/**/public_html/wp-content/plugins/wp-contact-slider/freemius/start.php on line 189

Use AMP without affecting the desktop theme?

$
0
0

Replies: 0

Hello, I have a problem, I would like to keep the view of the desktop theme, but when activating the Amp plugin, it redirects me to the mobile theme both for desktop and mobile view

I just want the theme switf to go mobile while the original desktop theme is intact

It’s possible?

Date of blog post not showing correctly and author details are not shown

$
0
0

Replies: 0

Hello,

I’m a bit confused as to why the date and author details of my blog posts are shown incorrectly when you are looking through my blog categories.

I’m not sure why this is happening. If you click on the actual blog post URL (this post for example), the author and date are shown correctly. By if you go to the blog post category (seo & traffic), posted by date says 50 years ago and author credits are not even included.

Any help is appreciated. Thank you!

Portfolio item is requiring click on title

$
0
0

Replies: 1

This isn’t happening in your demo page, but it’s happening on our site. You used to be able to click anywhere on a portfolio item to trigger the action, but now you have to click on the item meta title to get a click response.

WordPress 5.2.2
Snow Theme 1.2.0
Visual Portfolio 1.12.1

If I inspect any portfolio item in Chrome something seems really strange – when I highlight figcaption, it selects a different portfolio item than when I highlight anywhere else in the figure.

<figure class="vp-portfolio__item">
<div class="vp-portfolio__item-img-wrap">…</div>
<figcaption class="vp-portfolio__item-overlay vp-portfolio__item-align-center" style="transition: transform 0.2s ease-in-out 0s; transform: translateX(0%) translateY(100%) translateZ(0px);">…</figcaption>
</figure>

I’m going to see if I can roll back the version on Visual Portfolio, because I think it was working fine about a month ago. I will update here if that restores the expected behavior.


Simplicity

$
0
0

Replies: 0

Easy to use with excellent support from the development team!

Increased attacks

$
0
0

Replies: 0

I just got an email with this notification:

he Wordfence Web Application Firewall has blocked 134 attacks over the last 10 minutes. Below is a sample of these recent attacks:

July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for Blog Designer <= 1.8.10 – Unauthenticated Stored Cross-Site Scripting in POST body: custom_css=</style><script async=true type=text/javascript language=javascript>var nt = String.fromCharCode(98ê
July 1, 2019 6:23pm 222.73.242.180 (China) Blocked for WP GDPR Compliance <= 1.4.2 – Update Any Option / Call Any Action in POST body: action=wpgdprc_process_action
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for Blog Designer <= 1.8.10 – Unauthenticated Stored Cross-Site Scripting in POST body: custom_css=</style><script async=true type=text/javascript language=javascript>var nt = String.fromCharCode(98ê
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for Blog Designer <= 1.8.10 – Unauthenticated Stored Cross-Site Scripting in POST body: custom_css=</style><script async=true type=text/javascript language=javascript>var nt = String.fromCharCode(98ê
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for XSS: Cross Site Scripting in POST body: domain=</script><script async=true type=text/javascript language=javascript>var nt = String.fromCharCode(9ê
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for XSS: Cross Site Scripting in POST body: css=</style><script async=true type=text/javascript language=javascript>var nt = String.fromCharCode(98ê
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for XSS: Cross Site Scripting in POST body: otw_pctl_custom_css=</textarea><script async=true type=text/javascript language=javascript>var nt = String.fromCharCodeê
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for XSS: Cross Site Scripting in POST body: otw_pctl_custom_css=</textarea><script async=true type=text/javascript language=javascript>var nt = String.fromCharCodeê
July 1, 2019 6:23pm 222.73.242.180 (China) Blocked for Yellow Pencil Visual Theme Customizer <= 7.1.9 Arbitrary Options Update in query string: yp_remote_get=3
July 1, 2019 6:23pm 91.134.140.200 (France) Blocked for Total Donations (all known versions) – Multiple Unauthenticated AJAX Actions

I notice that a number of them say “Scripting in POST body” – where exactly is this posting happening? Comments are turned off for all posts and pages on the site.

Thanks!

AMP ERRORS ON CONSOLE

$
0
0

Replies: 0

This is an easy to use plug in. Problems do come up from time to time through search console and Google is not always clear about what we need to do to fix it. The plug in support forum is very helpful and the team is really responsive.

My last error had to do with the logo missing in the theme appearance and Yoast plugin and James helped identify this quickly. I implemented the change as he recommended and the console error went away.

Highly recommended. Our site gets lots of hits through AMP pages via mobile search so this plugin is very essential.

.storefront-handheld-footer-bar disappear after activating this plugin

$
0
0

Replies: 0

Hi, after activating this plugin .storefront-handheld-footer-bar disappeared. i try to put it into Sticky Html Elements but i don’t resolve it.
i want the .storefront-handheld-footer-bar only in mobile version, with this plugin menu.

2nd question: How can i move the menu items from the left edge? they are too attached

Thank you!

  • This topic was modified 19 minutes ago by ultimate15.
  • This topic was modified 17 minutes ago by ultimate15.

Connecting Wordfence Central to Site With HTTP Auth

$
0
0

Replies: 0

Hello,

I have a few staging sites that require HTTP auth, and I’d like to connect them to Wordfence Central. It doesn’t appear that this is possible at this point, but I just wanted to verify.

Thanks!

Jake

Coupon Box NGINX cache configuration

$
0
0

Replies: 0

My site is using NGINX’s built in cache.

However, if one customer signs up for the coupon, it does not pop up for anyone else.

It seems that this is because the cache is remembering that a user already signed up and therefore it does not show up again.

When I manually clear the entire cache, the pop up comes up again.

How does the plugin remember what someone did?

Here’s a similar nginx configuration, you can see

#Skip cache for POST, Query String, WP-*, Sitemap and logged in users
set $skip_cache 0;

# POST requests and URLs with a query string should always go to PHP
if ($request_method = POST) {
set $skip_cache 1;
}

if ($query_string != “”) {
set $skip_cache 1;
}

# Don’t cache URIs containing the following segments
if ($request_uri ~* “/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|index.php|sitemap(_index)?.xml”) {
set $skip_cache 1;
}

# Don’t use the cache for logged-in users or recent commenters
if ($http_cookie ~* “comment_author|wordpress_[a-f0-9]+|wp-postpass
|wordpress_no_cache|wordpress_logged_in”) {
set $skip_cache 1;
}

# try as file then dir then passes to index.php with query string arg as parameter
# for permalinks
location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ \.php$ {
try_files $uri $uri/ /index.php =404;
add_header X-Cache-Status $upstream_cache_status;
include fastcgi.conf;
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
fastcgi_cache wordpress;
fastcgi_cache_valid 1440m;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}

location ~* \.(js|css|png|jpg|jpeg|gif|ico|eot|otf|ttf|woff|woff2)$ {
add_header Access-Control-Allow-Origin *;
add_header Cache-Control “public, max-age=31536000, immutable”;
access_log off; log_not_found off;
}

FIDO/FIDO2 Auth as 2-Factor Option

$
0
0

Replies: 0

Wordfence should support FIDO/FIDO2 as a 2FA option. That way it could support security keys like the Yubikey.

I’m currently using this plugin as my 2FA solution and it supports FIDO: https://wordpress.org/plugins/two-factor/


Bug in original price in cart

$
0
0

Replies: 0

Hi

There is a bug in original price showen in cart i add the image

For some quantity it show a wrong original price

I added an image with the cart

Bug Original Price Cart

Fix this bug please.

  • This topic was modified 11 minutes ago by ketizarase.

Facebook Feed Error on Live Server

$
0
0

Replies: 0

Hi,

I have been using the plugin successfully in development on MAMP, but upon migrating to the live server I am getting the following error:

Warning: Creating default object from empty value in D:\XXXXXX\wwwroot\XXXXXXX\wp-content\plugins\feed-them-social\feeds\facebook\class-fts-facebook-feed.php on line 432

Warning: Invalid argument supplied for foreach() in D:\XXXXXX\wwwroot\XXXXXXX\wp-content\plugins\feed-them-social\feeds\facebook\class-fts-facebook-feed.php on line 1786

Warning: Invalid argument supplied for foreach() in D:\XXXXXX\wwwroot\XXXXXXX\wp-content\plugins\feed-them-social\feeds\facebook\class-fts-facebook-feed.php on line 661

Warning: Invalid argument supplied for foreach() in D:\XXXXXX\wwwroot\XXXXXXX\wp-content\plugins\feed-them-social\feeds\facebook\class-fts-facebook-feed.php on line 672

I get this error on a fresh WP installation as well as the migrated site, so I’m assuming it’s a PHP issue on the live server, but can’t figure out what!

System info:

### Begin System Info ###
SITE_URL: http://XXXXXXXXX
Feed Them Social Version: 2.6.9

— WordPress Configuration:
WordPress Version: 5.1.1
Multisite: No
Permalink Structure: /%postname%/
Active Theme: Eat Sleep Ride 2
PHP Memory Limit: 256M
WP_DEBUG: Disabled

— Webserver Configuration:
PHP Version: 7.2.7
Web Server Info: microsoft-iis85

— PHP Configuration:
Safe Mode: No
Upload Max Size: 2M
Post Max Size: 8M
Upload Max Filesize: 2M
Time Limit: 300
Max Input Vars: 1000
Allow URL File Open: On (1)
Display Erros: On (1)

— PHP Extensions:
json: Your server supports json.
FSOCKOPEN: Your server supports fsockopen.
cURL: Your server supports cURL.
curl_multi: Your server supports curl_multi_select.

— FTS Settings->Global Options:
Cache time: 1 Day (Default)

— Active Plugins:
All-in-One WP Migration: 6.97
All-in-One WP Migration File Extension: 1.4
Contact Form 7: 5.1.3
Feed Them Social (Facebook, Instagram, Twitter, etc): 2.6.9
WP Google Maps: 7.11.32
WP Mail SMTP: 1.4.2

— Custom Token or Keys added to Options Pages
— You must have a custom token to use the feeds

Facebook App Token: Yes
Twitter Consumer Key: No
Twitter Secret: No
Twitter Token: No
Twitter Token Secret: No
Pinterest Token: No
Instagram: No
YouTube: No

— FaceBook & Twitter Date Format and Timezone

Date Format: one-day-ago
Timezone: No

— Hide Facebook Images in Posts:

Hide: No

— Hide Facebook Error Handler:

Hide: No

— Fix Twitter Time:

Fix: No

— Disable Magnific CSS:

Fix: No

— Fix Internal Server Error:

Fix: No
### End System Info ###

  • This topic was modified 9 minutes ago by jimnuttall.

New Texting Platform

$
0
0

Replies: 0

New texting platform offered. 33% saving over twilio and several additional features worth looking into.

WooCommerce Oca Shipping y WordPress multisite

$
0
0

Replies: 0

Buenas tardes Conrado. He utilizado en otros sitios su plugin con gran satisfacción.
Estoy armando una red de sitios (wordpress multisite). Es compatible con el anterior. Ya que el plugin se encuentra activado para toda la red y WooCommerce Oca Shipping no figura como opción de selección de envío al configurar woocommerce.
Muchas gracias

Can’t log into WP Admin – Capcha broke

$
0
0

Replies: 1

Getting this error:
ERROR for site owner: Invalid key type

When I try to log into my WP admin in the Capcha area.

It’s obviously a google capcha plugin that’s causing it. I would turn off that plugin….but I can’t log in to do so.

Any ideas?

Viewing all 64413 articles
Browse latest View live