Joe Nasevich
Forum Replies Created
-
Thank you, @askpivot. Changing the code in the Post SMTP plugin, in
wp-content/plugins/post-smtp/Postman/PostmanViewController.php, lines 173-178 to send array rather than a string resolves the issue. For example:wp_localize_script( ‘jquery_steps_script’, ‘steps_current_step’, array(‘steps_current_step’) );
For reference, please see WordPress Code reference for
WP_Scripts::localize( string $handle, string $object_name, array $l10n )
https://developer.ww.wp.xz.cn/reference/classes/wp_scripts/localize/HOWEVER, this really needs to be fixed by the developer ( @yehudah ) and released in next version.
Joe N
- This reply was modified 5 years, 2 months ago by Joe Nasevich.
I installed version 3.1.0.2 and got a slightly different error this time:
Fatal error: Cannot redeclare wpmem_update_captcha() (previously declared in /home/mysite/public_html/wp-content/plugins/wp-members/wp-members-install.php:487) in /home/mysite/public_html/wp-content/plugins/wp-members/admin/tab-captcha.php on line 272
Forum: Reviews
In reply to: [SKT White] Pretty theme but not really maintained (fixing bug denied)Thanks for the comment @eclipser. I was going to purchase this theme, but if that is how they handle bugs, I don’t want to deal with them!
Forum: Fixing WordPress
In reply to: WP and Plugin updates – Can't create tmp fileTry this. It worked fine for me.
The link tells you to add the following to the bottom of your wp-config.php file:
define('WP_TEMP_DIR', ABSPATH.'wp-content/uploads/');If you get a “Division by Zero” warning after modifying your wp-config.php file, you should check that you used the correct quotation marks, because PHP is fussy. If you still get a “Division by Zero” warning, try this instead:
$path = $ABSPATH .'wp-content/uploads/'; define('WP_TEMP_DIR',$path');Forum: Themes and Templates
In reply to: [Theme: Thesis 1.8] Warning: Illegal string offset 'type' inHi Josh, did you ever find a solution for this? I just got this error when updating a page on a Thesis 1.8.4 site. However, I’m was using PHP version 5.3. I tried changing to version 5.4, but I get the same error. Curiously, the page does appear to have been updated (I can see revision history for that page).
Error message I get is this:
Warning: Illegal string offset ‘type’ in /home/my-site/public_html/wp-content/themes/thesis_184/lib/admin/options_post.php on line 150
(this is repeated many times), followed by more error messages:Warning: Cannot modify header information – headers already sent by (output started at /home/my-site/public_html/wp-content/themes/thesis_184/lib/admin/options_post.php:150) in /home/sperry10/public_html/wp-admin/post.php on line 235
Warning: Cannot modify header information – headers already sent by (output started at /home/my-site/public_html/wp-content/themes/thesis_184/lib/admin/options_post.php:150) in /home/sperry10/public_html/wp-includes/pluggable.php on line 1121
Then I changed back to PHP version 5.3 and the problem magically went away. Looks like I need to finally migrate off of Thesis theme, but the newer versions break my old Thesis 1.8 sites. I’m curious how you resolved the problem.
Forum: Plugins
In reply to: [Form Manager] reCaptcha Not ShowingThank you, #jackiellowery. That was a very helpful work-around. However, it will only last until the next time WordPress Form Manager plugin is updated. Any idea if the plugin author might incorporate this rather minor change into the plugin code? Or more generally, is there a way to customize a plugin, like one might create a child theme to customize a theme, so I won’t lose this fix when the plugin is updated?
For those of you who might not understand the problem, the WordPress Form Manager always uses HTTP protocol for the path to the ReCaptcha widget, and this creates a mix of secure/unsecure content on a site that uses SSL or HTTPS protocol. IE8 will display warning message saying, “Do you want to view only the webpage content that was delivered securely?” and FireFox will not display unsecure content by default.
Forum: Plugins
In reply to: [Easy Restaurant Menu Manager] CSS Used in Screenshots@goblixie Well, I just downloaded and installed it last night, so perhaps I’m not the best judge of their support. However, I looked on the support site, and I see some recent replies. Earlier today I posted a request for a feature, so let’s see if they reply. Clearly, they don’t monitor THIS forum. And I have to agree with the posts from folks who complain about a bait and switch from the free to the extended version. Still, the extended version does 80 percent of what I want to do right out of the box, so I’m not complaining. If support is as bad as you say, then I will probably change my tune.
Forum: Plugins
In reply to: [Easy Restaurant Menu Manager] CSS Used in Screenshots@angiemorrissey @andygrantonline If you look on the Easy Restaurant Menu Manager plugin’s support site, you will see a link for “Custom fonts using CSS“. That link says:
Fonts and sizes are not defined in the Easy Restaurant Menu Manager plugin for WordPress. This is intentional so that when installed, the plugin’s output matches the installed WordPress theme’s fonts and size scheme. In general, this works seamlessly but occasionally fonts need to be changed or increased in size in order to stand out.
Easy Restaurant Menu Manager includes a settings box for including custom CSS to tweak styles.
Examples
Customize fonts for a menu item title and description
.wprmm_menu .menu_category h3{ font-size:24px !important; font-family: Times,Georgia,Serif !important; } .wprmm_menu .menu_category p{ font-size:12px !important; }Customize menu category name and description
.wprmm_menu .menu_category h2{ font-size: 18px !important; font-family: Times,Georgia,Serif !important; } .wprmm_menu .menu_category p.menu_category_desc{ font-size: 18px !important; padding-bottom: 12px !important; }Obviously, you will need to use whatever font, size, and other styling that you prefer, but it’s not difficult to do. From WordPress dashboard just navigate to plugin’s Manage Menus | Settings page and enter your CSS there.
Also, to the folks who complain about no support, they do seem to provide support on the SAI Digital web site, just not here in the WordPress forums.
I hope that helps.
Forum: Plugins
In reply to: [Promotion Slider] Upgrade breaks slider alignment in FirefoxActually, since I’m using Thesis theme, PC Custom CSS plugin isn’t necessary. I made my changes in Thesis theme’s custom.css file instead. Changes made there survive updates to theme and plugins.
Thanks for tip though. I will use it in other themes.
Forum: Plugins
In reply to: [Promotion Slider] Upgrade breaks slider alignment in FirefoxMicah,
Your alternate solution fixes that alignment issue, but like my original change to .promo_slider, it doesn’t address how the Promotion Slider obscures the menu pull downs. To be fair, I hadn’t provided my megamenu CSS (I am using UberMenu 2 as my WordPress Mega Menu plugin).
#megaMenu {
position:relative;
line-height:1em;
overflow:visible;
zoom:1;
display:block;
float:left;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
z-index:100;
}
Note that
overflow:visible;is what allows submenu items to be displayed. Also note that megamenu z-index is set to 100.So I’m sticking with my change to promotion-slider/css/slider.css:
.promo_slider { height:235px; overflow:hidden; position:relative; clear:left; z-index:5}Cheers, and thanks for a great plugin!
Forum: Plugins
In reply to: [Promotion Slider] Upgrade breaks slider alignment in FirefoxActually, my original change didn’t quite fix everything. When slider changes to next promotion, menu drop-down is below slider. So I also needed to set z-index less than menu’s z-index (100 in my case). So modified CSS in slider.css would be
.promo_slider { height:235px; overflow:hidden; position:relative; clear:left; z-index:5}
Micah, I will test your alternate solution as well and let you know if that works.
Forum: Plugins
In reply to: [Promotion Slider] Upgrade breaks slider alignment in FirefoxFixed it! I edited slider.css and changed the .promo_slider class as follows (original CSS is commented out on first line; new CSS follows on next line).
/* .promo_slider { height:235px; overflow:hidden; position:relative; } */
.promo_slider { height:235px; overflow:hidden; position:relative; clear:left; }
Works OK now in Firefox, IE, and Chrome.
Hi Eric,
This limit also affects the number of items displayed in a drop-down list as well. It would be a nice enhancement if the number of links displayed was configurable through the WordPress Dashboard. A lot of folks (my client included) don’t feel comfortable editing PHP code (and they wouldn’t have to come back to me to ask to do it for them).
Still a great plugin! Keep up the good work!
Joe Nasevich
[sig moderated as per the Forum Rules]Forum: Reviews
In reply to: [WP Publication Archive] Nice plugin, but documentation is wrongThanks, Eric. Glad you were able to incorporate my changes into version 2.5 of your plugin. Great response time, too! I think the new version was released less than a week after I sent you my modified code. You’ve earned a 5-star review now!
Joe Nasevich
Whispering Woods Software