Title: shev72's Replies | WordPress.org

---

# shev72

  [  ](https://wordpress.org/support/users/shev72/)

 *   [Profile](https://wordpress.org/support/users/shev72/)
 *   [Topics Started](https://wordpress.org/support/users/shev72/topics/)
 *   [Replies Created](https://wordpress.org/support/users/shev72/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/shev72/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/shev72/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/shev72/engagements/)
 *   [Favorites](https://wordpress.org/support/users/shev72/favorites/)

 Search replies:

## Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] php warning foreach() argument must be of type array|object, null given](https://wordpress.org/support/topic/php-warning-foreach-argument-must-be-of-type-arrayobject-null-given-4/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/php-warning-foreach-argument-must-be-of-type-arrayobject-null-given-4/#post-17409455)
 * HEllo, many thanks , yes with your guidance I Was able to find the issue issue
   was in the call to pll_rel_hreflang_attributes setting up the filter, which was
   not returning the array in some cases.
 * Regards
    -  This reply was modified 2 years, 6 months ago by [shev72](https://wordpress.org/support/users/shev72/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] error message: directories could not be created](https://wordpress.org/support/topic/error-message-directories-could-not-be-created/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years ago](https://wordpress.org/support/topic/error-message-directories-could-not-be-created/#post-16960732)
 * hello yes thanks for the support updating the file permissions fixed the issue!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Calendar - Accessible Event Manager] canonical url not in sitemap](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years ago](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/#post-16953772)
 * I investigated in much more detail, I see a comment in the my calendar code:
 * /**
    - Customize canonical URL for My Calendar custom links
      */function mc_custom_canonical(){
      if ( mc_is_single_event() ) {add_action( ‘wp_head’, ‘mc_canonical’ );remove_action(‘
      wp_head’, ‘rel_canonical’ );add_filter( ‘wpseo_canonical’, ‘mc_disable_yoast_canonical’);}}
 * /**
    - When Yoast is enabled with canonical URLs, it returns an invalid URL for single
      events. Disable on single events.
      *
    - [@return](https://wordpress.org/support/users/return/) boolean
      */function 
      mc_disable_yoast_canonical() {return false;}
 * I am not really sure about this. Both the yoast and myCalendar canonical seem
   to returning the ?mc_id, this is incorrect. It is easy for me to filter this,
   but the yoast filter is disabled, is there another hook I can use?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Calendar - Accessible Event Manager] canonical url not in sitemap](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years ago](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/#post-16951665)
 * sorry ignore this question, in fact I see that I have some customizations which
   are adding the query string, I will add a filter in Yost to remove it generate
   the correct canonical without the query.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Calendar - Accessible Event Manager] canonical url not in sitemap](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years ago](https://wordpress.org/support/topic/canonical-url-not-in-sitemap/#post-16951577)
 * just a quick follow up, I see that when the event list are generated, the links
   in the event also have the query ?mc_id=xxx , so infact they point to the page
   which is not in the sitemap. when I manually remove the ?mc_id=xx it works. So
   is it possible to generate the links without the query?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] wpslCallback is not a function](https://wordpress.org/support/topic/wpslcallback-is-not-a-function-3/)
 *  [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/wpslcallback-is-not-a-function-3/#post-16698075)
 * yes same issue for m the autoptmize js fix above has fixed it.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Broken Link Checker] If you sign up to the Hub, prepare to get a lot of spam](https://wordpress.org/support/topic/if-you-sign-up-to-the-hub-prepare-to-get-a-lot-of-spam/)
 *  [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/if-you-sign-up-to-the-hub-prepare-to-get-a-lot-of-spam/#post-16520290)
 * agree with this review concerning SPAM! so many emails
 * Please make your unsubscribe link bigger, I need a microscope to read it, it 
   is the only useful information in the email!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] open graph filters still supported](https://wordpress.org/support/topic/open-graph-filters-still-supported/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [4 years ago](https://wordpress.org/support/topic/open-graph-filters-still-supported/#post-15913026)
 * sorry, I figured out the issue, seems like I needed to modify the priority because
   I had another filter working on the head section.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Attempt to read property “display_name” on bool](https://wordpress.org/support/topic/attempt-to-read-property-display_name-on-bool/)
 *  [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/attempt-to-read-property-display_name-on-bool/#post-15783580)
 * I have this warning as well, it is appearing on my home page, really need a fix
   for this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smart Slider 3] custom delay for a specific slide with autoplay](https://wordpress.org/support/topic/custom-delay-for-a-specific-slide-with-autoplay/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-delay-for-a-specific-slide-with-autoplay/#post-15331078)
 * yes it works perfectly thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] Language Switcher not working for PolyLang](https://wordpress.org/support/topic/language-switcher-not-working-for-polylang/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/language-switcher-not-working-for-polylang/#post-14928286)
 * Hello again, seems like I have to set the language individually for all pages.
   The answer for my question is here:
    [https://polylang.pro/doc/assign-a-language-to-an-existing-content/](https://polylang.pro/doc/assign-a-language-to-an-existing-content/)
 * I close this topic. Perhaps the above link can be added to your FAQ to cover 
   cases such as mine where polylang is added to a site which already has many pages.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Max Mega Menu] Language Switcher not working for PolyLang](https://wordpress.org/support/topic/language-switcher-not-working-for-polylang/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/language-switcher-not-working-for-polylang/#post-14927845)
 * thanks for your follow-up: I disabled the caching plugin (autoptimize) but result
   is the same.
 * I also disabled MaxMegaMenu and result is also the same. When you say menu may
   be incorrectly configured, can your provide more detail? I am not sure what to
   try, I followed and checked the instructions on the FAQ.
 * I can also post a support request to PolyLang.
    thanks again¨!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] canonical not working on mobile](https://wordpress.org/support/topic/canonical-not-working-on-mobile/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [5 years ago](https://wordpress.org/support/topic/canonical-not-working-on-mobile/#post-14751996)
 * thanks again, actually I think I found the culprit elsewhere.
 * M y themese has a call to wp_head()
    and I needed to remove the canonical being
   generated there as suggested on stackoverflow:
 * [https://stackoverflow.com/questions/35685141/wordpress-wp-head-how-to-remove-link-canonical-and-api](https://stackoverflow.com/questions/35685141/wordpress-wp-head-how-to-remove-link-canonical-and-api)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] canonical not working on mobile](https://wordpress.org/support/topic/canonical-not-working-on-mobile/)
 *  Thread Starter [shev72](https://wordpress.org/support/users/shev72/)
 * (@shev72)
 * [5 years ago](https://wordpress.org/support/topic/canonical-not-working-on-mobile/#post-14751541)
 * thanks for your follow-up, I am beginning to suspect there may be another plugn
   interfering.
 * definitely the behavior is reproducible.
 * One sample page is [sample page](https://ab-renens.ch/bible-online/bible-online-segond-21/?book=1&chapter=46)
   
   [sample page 2 ](https://ab-renens.ch/bible-online/bible-online-segond-21/?book=1&chapter=36)
   the canonical link on desktop shows the complete link including the parameters,
   but on mobile I get online the base link without the parameters.
 * I will try disabling other plugins which may be interfering.

Viewing 14 replies - 1 through 14 (of 14 total)