chrisw64
Forum Replies Created
-
Hi Ronald, thanks for responding to my question. Better late than never! 😉
I am not sure what you mean with the pagination arguments. I don’t see a screen options dropdown. I should mention that I am using a pretty old version of your plugin, because I can’t really update my WP anymore (since my theme will break when I do that).

As you can see, it doesn’t seem to be correct. One post is showing twice on back-end but just once on front-end and two posts are showing on front-end but missing on back-end.
Can the developer of the plugin please look into this for me?
Forum: Plugins
In reply to: [Wider Admin Menu] Pages (edit) menu partially invisibleHi Mihaela,
That’s good to hear. Thanks for looking in it so thoroughly. I’m looking forward to the update!
Chris
Forum: Plugins
In reply to: [Wider Admin Menu] Pages (edit) menu partially invisibleOf course. I’m using a theme called OneVideo by TouchSize.
These are my Wider Admin Menu settings: https://gyazo.com/9ba45d1fc5ea589337b1d2ec8e962fd1
And this is how the page editor looks like with these settings:
https://gyazo.com/66d4e91d6022d2b8e839b496ddc47f0eAs you can see, the left part of the editor is hidden by the WP side menu.
Hi Alexandru,
I am using the theme OneVideo by TouchSize: https://themeforest.net/item/onevideo-video-community-media-wordpress-theme/15243926
I am using the latest version of this theme (v1.08, released August 26th).
By the way: I am using the latest versions of both WP (5.2.2) and your External Links plugin (2.32).
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Non-WordPress filesHi Bryle,
That’s great to hear. Thanks for answering so quickly! Of course, I do appreciate the excellent value of the free version, but – to be honest – in that case I see little extra value for the paid version 🙂
Chris
- This reply was modified 6 years, 9 months ago by chrisw64.
Forum: Plugins
In reply to: [Easy Affiliate Links] Breaking pages after update Version 2.6.5I have the exact same problem. Since WordPress implemented the new editor in v5.0, this plugin breaks the code of my posts.
Took me some time to figure out what exactly is happening. In short:
Whenever you add a regular link and you have also links further down the page that are made by using the Easy Affiliate Links (EAL) button in the WordPress editor, somehow WordPress connects the regular link and the EAL-link together. What happens is that all the code (text, images, etc.) between the regular link and the EAL-link ‘disappears’ and you see the EAL-link on the spot where you’ve added the regular link. After this, the code picks up again.
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorYep. that did the trick 🙂
I guess the ‘ WC_Product::’ part was old code or something. I should have thought about using the $_product parameter, since it is used in the other lines in the file as well.Thanks a lot Mike. You are awesome!
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorI really appreciate the time you already invested. Though if you’d still like to look into it, I’ll try to make it a little easier:
- Product that has the product attribute
- Error code in dev console
- Original email-order-items.php file
- modified email-order-items.php file
It seems to me there should be a ‘}’ in line 59, but if I do that, I get the first error I mention in my ‘now we’re getting somewhere’ reply.
Edit: I see that our replies crossed. Since I think I’m using the same code that was said to be working on the solution I linked to, do you have any idea how it’s possible that this code was working for that other guy?
And… how I could get this to work 😀
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorWell, on the email settings page WooCommerce says:
To override and edit this email template copy woocommerce/templates/emails/customer-completed-order.php to your theme folder: martable/woocommerce/emails/customer-completed-order.php.
So I did the same for the email-order-items.php file, to make sure the original file stays intact.
Anyway, when I delete the php files in my ‘themes/martable/woocommerce/emails/’ folder and make a transaction, there is no error. This is as expected, cause this was also the case when the unedited email-order-items.php was in my themes folder.
When I add the line
} // Attribute echo '<br/><small>Wachtwoord: ' . nl2br( WC_Product::get_attribute( 'wachtwoord' ) ) . '</small>';in the original email-order-items.php file (in the original location) though, I get the same error again.
I see that the solution I linked to in my post is now removed. I’m using the same line of code though that was confirmed to be working there.
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorOk, now we’re getting somewhere!
When I follow your instructions, I first get this error in the dev console:
You have received an order from Pubbie Quizter. The order is as follows: Order #2285 (Wednesday, May 25, 2016) <strong>Parse error: syntax error, unexpected '}' in /sites/pubquiztime.nl/www/wp-content/themes/martable/woocommerce/emails/email-order-items.php on line 69</strong>Now, I checked the original email-order-items.php file and line 69 of the file I edited is the same as its counterpart on the original file. Its just the } symbol there.
Anyway, I removed the ‘}’ just to be sure, then made another transaction and got the following message in the console:
You have received an order from Pubbie Quizter. The order is as follows: Order #2286 (Wednesday, May 25, 2016) Product Quantity Price Pubquiz 1 (#pq1nl) Deprecated: Non-static method WC_Product::get_attribute() should not be called statically in /sites/pubquiztime.nl/www/wp-content/themes/martable/woocommerce/emails/email-order-items.php on line 58 Fatal error: Uncaught Error: Using $this when not in object context in /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php:1338 Stack trace: #0 /sites/pubquiztime.nl/www/wp-content/themes/martable/woocommerce/emails/email-order-items.php(58): WC_Product::get_attribute('wachtwoord') #1 /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(199): include('/sites/pubquizt...') #2 /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1969): wc_get_template('emails/email-or...', Array) #3 /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/templates/emails/email-order-details.php(44): WC_Abstract_Order->email_order_items_table(Array) #4 /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/wc-core-functions.php(199): include('/sites/pubquizt...') #5 /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/class-wc-emails.php(266): wc_get_template('emails/email-or...', Array) #6 in /sites/pubquiztime.nl/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 1338I think that I wasn’t supposed to remove the ‘}’. But then I’m not sure what I am supposed to do, as this is a bit out of my league 🙂
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorWill do. It probably won’t be until Sunday when I can try it though. I will post the results here.
Thanks for your help so far!
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorI enabled debug mode and deactived all plugins exept WooCommerce. I also switched to a default WordPress (Woocommerce) theme.
After enabling debug mode, where it inititally said ‘Internal Server Error’ it now says: SyntaxError: Unexpected token < in JSON at position 0
However I see no errors in my php-erros.log file and no log file in the wp-content/ folder.
Forum: Plugins
In reply to: [WooCommerce] Adding product attribute to order emails gives errorDo you mean the php error log file? It shows no errors/entries when I make the purchase and get the Internal Server Error notification on the website.