grappler / polylang-slug

A unique post slug within the language in Polylang. This allows for a page to have same/identical slug in multiple languages.
275 stars 84 forks source link

can't activate plugin #17

Closed petermap closed 8 years ago

petermap commented 8 years ago

Hi, I searched for a way to use the same slug for my wordpress-themes main tabs (pages) in 2 different languages and found your plugin. It installs without problems, but when I try to activate it, I get this error:

'Fatal error: Call to a member function join_clause() on a non-object in /.../wp-content/plugins/polylang-slug-master/polylang-slug.php on line 133'

I use wordpress 4.3.1 and polylang 1.7.12

Hope You can help me, and thanks for the plugin!

grappler commented 8 years ago

Could you share the information provided in this plugin? https://wordpress.org/plugins/system-snapshot-report/

petermap commented 8 years ago

Begin System Info

** WORDPRESS DATA **

Multisite: No SITE_URL: xx HOME_URL: xx WP Version: 4.3.1 Permalink: /%postname% Cur Theme: Ultra 1.1.4 Post Types: post, page, attachment, revision, nav_menu_item, polylang_mo, tbuilder_layout, tbuilder_layout_part, qa_faqs, wpcf7_contact_form, robo_gallery_table, portfolio Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit User Count: 1

** WORDPRESS CONFIG **

WPDEBUG: Disabled WP Memory Limit: 40MB Table Prefix: wp Prefix Length: Acceptable (3 characters) Show On Front: page Page On Front: Home (ID# 21) Page For Posts: (ID# 0)

** BROWSER DATA **

Platform: Windows Browser Name Chrome Browser Version: 46.0.2490.86 Browser User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36

** SERVER DATA **

jQuery Version 1.11.3 PHP Version: 5.5.26-nmm1 MySQL Version:
Server Software: Apache

** PHP CONFIGURATION **

Safe Mode: No Memory Limit: 256M Upload Max: 200M Post Max: 200M Time Limit: 30 Max Input Vars: 1000 Display Errors: On Sessions: Disabled Session Name: PHPSESSID Cookie Path: / Save Path: /tmp Use Cookies: On Use Only Cookies: On FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. SOAP Client: Your server has the SOAP Client enabled. SUHOSIN: Your server does not have SUHOSIN installed. OpenSSL: Your server has OpenSSL installed.

** PLUGIN INFORMATION **

Active Plugins: (6)

Inactive Plugins: (9)

End System Info

petermap commented 8 years ago

Still can't get it activated :/ Any idea what settings could possibly have a negative impact or if there may be a huge red flag I don't see?

grappler commented 8 years ago

Sorry for the delayed reply. I could not think of a reason why the error should show.

I have made some updates. Could you check the latest version. https://github.com/grappler/polylang-slug/archive/master.zip

grappler commented 8 years ago

I am going to release v0.2.0 tomorrow, it would be nice if you were able to test it beforehand.

petermap commented 8 years ago

I put this problem aside for a while, as I couldn't get it to work for me. With the new version I'm able to activate it, ... but polylang still auto-corrects my non-EN slugs from xxx (EN) to xxx-2. It does it with existing pages I try to edit, as well as with new pages I add. I will try your v0.2.0 tomorrow, thanks for further developing the plugin!

grappler commented 8 years ago

Thanks @petermap :smile: Version 0.2.0 will not be different to what you had now. Could you give access to the site so that i can see whats going wrong? https://ulrich.pogson.ch/contact-me

grappler commented 8 years ago

Closing as it seems to working now