justinwhall
Forum Replies Created
-
Forum: Plugins
In reply to: [LittleBot Invoices] Deactivating and Reactivating Plugin Resets FieldsFixed in 2.0.2. Thanks.
Forum: Plugins
In reply to: [LittleBot Invoices] Misalignment of totalsI suspect that another plugin or theme is conflicting here. Here is what a default invoice looks like:
Forum: Plugins
In reply to: [LittleBot Invoices] Incompatible with Query MonitorThere are two things at hand here. PHP 7.1 was creating a few problems. 2.0.2 addresses these.
In regards to being compatible with Query Monitor – this may never be possible. Part of the reason the invoices are so clean and simple is styles and all other plugin are assets are stripped from the invoice/estimate pages. This, of course, is intentional to assure nothing gets in the way. This isn’t to say that nothing will slip through and if you are still having trouble with approving invoices after the update I’d be interested in more details.
Forum: Plugins
In reply to: [LittleBot Invoices] Fatal Error on PHP 7.1This will work, however. I’ll push this out soon along with a few other warning fixes.
$line_items = get_post_meta( $post->ID, '_line_items', true ); if ( ! is_array( $line_items ) ) { $line_items = array(); } if ( !is_array( $line_items ) ) { $item = array(); $item['item_title'] = ''; $item['item_desc'] = ''; $item['item_qty'] = ''; $item['item_rate'] = ''; $item['item_percent'] = ''; $item['item_amount'] = ''; $line_items[] = $item; }- This reply was modified 8 years, 11 months ago by justinwhall.
Forum: Plugins
In reply to: [LittleBot Invoices] Fatal Error on PHP 7.1Nope, My mistake. 7.1.4 throws the error you are talking about. Thanks for point this out. Patch coming.
Forum: Plugins
In reply to: [LittleBot Invoices] Fatal Error on PHP 7.1I’m not getting this error on any PHP version. I’m going to look more but I can tell you that adding:
$line_items = array();will cause this problem: https://wordpress.org/support/topic/line-items-disappear-from-back-end/#post-9211200Forum: Plugins
In reply to: [LittleBot Invoices] Line Items Disappear from Back-EndThis is b/c you added
$line_items = array();thus emptying the $lineitem array as you specified here: https://wordpress.org/support/topic/fatal-error-on-php-7-1-4/#post-9209742Forum: Plugins
In reply to: [LittleBot Invoices] Fatal Error on PHP 7.1Thanks @kts915 – I’m going to look at this today if I get a chance.
Forum: Reviews
In reply to: [LittleBot Invoices] The beauty of SimplicityThank you very much @BiynDesings. If I can be of help in any way, please don’t hesitate to reach out here or on our website. https://www.littlebot.io/support/
Forum: Plugins
In reply to: [LittleBot ACH for Stripe + Plaid] Setup subscription?I spoke with another Developer 6 months or so about Stripe/plaid + gravity forms. He was submitting an integration. To my knowledge, Gravity Forms was not interested at the time.
Forum: Plugins
In reply to: [LittleBot ACH for Stripe + Plaid] Setup subscription?That is correct. Not against creating a way to administer and issue stripe subscriptions within the WordPress admin iff there is enough interest but in the mean time, you can charge the customer and then set up a subscription in your Stripe Admin.
Forum: Developing with WordPress
In reply to: Problem with Conditionals in functions.phpCheck if the post meta is an empty string…
add_filter('the_content','add_postdata_to_content'); function add_postdata_to_content($content) { global $post; if ( is_single() || is_feed() ) { $postdata .= '<!-- BEGIN --><strong>'; // ternary to check if there is post meta value for cityname. if not, use 'New York' $postdata .= ( get_post_meta( $post->ID, 'cityname', true ) !== '' ) ? get_post_meta( $post->ID, 'cityname', true ) : 'New York'; $postdata .= ', ' . get_the_time('Y-m-d') . '<!-- END --> '; return preg_replace('/<p>/', '<p>' . $postdata, $content, 1); } else { $postdata .= '<p>'; return preg_replace('/<p>/', '<p>' . $postdata, $content, 1); } }- This reply was modified 8 years, 11 months ago by justinwhall.
Forum: Plugins
In reply to: [WP Tel Links] Removing textUnfortunately, 1112223333 is not a valid phone number format so there isn’t really much I can do in that case.
Forum: Plugins
In reply to: [LittleBot ACH for Stripe + Plaid] Breaking Divi theme?That warning is from the the official Stripe wrapper. Basically a library they built for developers to interface with their API.
It’s also just a warning. Warnings to not generally cause any sort of error that the end user would see.
Forum: Plugins
In reply to: [LittleBot ACH for Stripe + Plaid] Breaking Divi theme?What I or elegant themes is going to need is the error log.