Using MODX Add-ons - MODX Community Forums https://forums.modx.com/board/?board=65 <![CDATA[MODX Gallery fail to open ..//core/components/gallery/controllers/.class.php file]]> https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564536
[2019-03-19 08:13:33] (ERROR in modManagerRequest::prepareResponse @ ../core/model/modx/modmanagerrequest.class.php : 187) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.

[2019-03-19 08:14:04] (ERROR in modManagerRequest::prepareResponse @ ../core/model/modx/modmanagerrequest.class.php : 187) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.

[2019-03-19 08:14:04] (ERROR @ ../core/model/modx/modmanagercontroller.class.php : 962) PHP warning: require_once(../core/components/gallery/controllers/.class.php): failed to open stream: No such file or directory

I need some help to resolve these errors.

Thanks]]>
https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564536 Thu, 21 Mar 2019 07:57:38 +0000 https://forums.modx.com/thread/104984/modx-gallery-fail-to-open-core-components-gallery-controllers-class-php-file#dis-post-564536
<![CDATA[Using invisible recaptcha with recaptchav2 and FormIt]]> https://forums.modx.com/thread/103631/using-invisible-recaptcha-with-recaptchav2-and-formit#dis-post-564345
I felt like sharing this because it took us a while to clean this up. Forms are not just forms any more. They have frontend validation, server validation, then after the form has submitted, certain things should happen, etc. etc.

So here's a drop-in replacement chunk for render_invisible_html - call it something else, otherwise it will be overwritten when updating ReCaptchaV2.

<script async defer type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=[[++cultureKey]]"></script>
<div id='recaptcha' class="g-recaptcha"
     data-sitekey="[[+site_key]]"
     data-callback="onCompleted"
     data-size="invisible"></div>
<script>
var captureCompleted = false;
 window.onload = function () {
  jQuery('#[[+form_id]]').submit(function(event) {
    console.log('validation passed, here comes the captcha.');
    grecaptcha.execute();

    if ( !captureCompleted ) return false;

    // this is where you would put your AdWords conversion code or anything that you would like to be triggered after captcha completion.
    // you can of course also use the postHooks for FormIt, but if you trust your frontend validation and don't do anything super important here
    // this is the place to put your code.

  });
  onCompleted = function() {
    console.log('ReCaptchaV2 finished successfully.');
    captureCompleted = true;
  }
};
</script>


Why we built this: Conversion rates of a clients AdWords campaign dropped dramatically after we added the "I am not a robot" captcha. Apparently, many people are just too <insert mean word here> to click the button. We had no explanation for this, but ever since we turned it off, everything worked out fine.

Have fun using this and let me know if you have any improvements or anything that we might have missed.

Andreas]]>
https://forums.modx.com/thread/103631/using-invisible-recaptcha-with-recaptchav2-and-formit#dis-post-564345 Fri, 08 Mar 2019 09:33:59 +0000 https://forums.modx.com/thread/103631/using-invisible-recaptcha-with-recaptchav2-and-formit#dis-post-564345
<![CDATA[GoodNews unsubscribe does not work]]> https://forums.modx.com/thread/104942/goodnews-unsubscribe-does-not-work#dis-post-564289 Unfortunately, GoodNews UnSubscription does not work on my website. This does not work on the direct link either for the page (for example, GoodNews Unsubscribe)
GoodNews generates normal Format string with security key for each
[[~[[*id]]]]?sid=[[!+sid]]
, but after execution there is an incorrect transformation
http://test.loc/index.php?id=GoodNews Unsubscribe page id ? sid=security key for each subscriber
. User is not removed from the User's list.
The same thing happens with the link in the template.
<a href="http://test.loc:/index.php?id=GoodNews Unsubscribe page id ? sid=security key for each subscriber"...>Unsubscribe</a>

Reset to start page (configured in MODX for error page)

-- Apache 2.4.35
-- PHP 5.6.38
-- MODX Revolution 2.6.5-pl (traditional)
-- MySQL 5.6.43-cll-lve
-- There are no errors on the log
You can check it at the link http://signboard.by/index.php?id=23 http://signboard.by/goodnews-subscription.html for Subscription and UnSubscription

I can not understand what my mistake. Please help.]]>
https://forums.modx.com/thread/104942/goodnews-unsubscribe-does-not-work#dis-post-564289 Mon, 04 Mar 2019 04:15:10 +0000 https://forums.modx.com/thread/104942/goodnews-unsubscribe-does-not-work#dis-post-564289
<![CDATA[pdoMenu dublicate links]]> https://forums.modx.com/thread/104902/pdomenu-dublicate-links#dis-post-564116 The 3-level menu, everything is displayed, only here, for some reason, on those resources where there should be an anchor link, when clicking on which the next menu item opens, it is duplicated.

<li><a href="url" title="item-1-3">item-1-3</a></li>
<li class="icon icon-arrow-right"><a href="#" title="item-1-3">item-1-3</a>


This is how it looks in code
<nav id="mp-menu" class="mp-menu mp-cover">
    <a href="#" class="close-menu"><i class="fas fa-times"></i></a>
	<div class="mp-level mp-level-open" data-level="1">
        <ul>
			<li class="icon icon-arrow-right"><a href="#" title="item-1">item-1</a>
				<div class="mp-level" data-level="2">
				<a class="mp-back" href="#" rel="nofollow">Back</a>
					<ul>
						<li><a href="url" title="item-1-1">item-1-1</a></li>
						<li><a href="url" title="item-1-3">item-1-2</a></li>
						<li><a href="url" title="item-1-3">item-1-3</a></li>
						<li class="icon icon-arrow-right"><a href="#" title="item-1-3">item-1-3</a>
							<div class="mp-level" data-level="3">
								<a class="mp-back" href="#" rel="nofollow">Back</a>
								<ul>
									<li><a href="url" title="item-1-3-1">item-1-3-1/a></li>
									<li><a href="url" title="item-1-3-2">item-1-3-2</a></li>
									<li><a href="url" title="item-1-3-3">item-1-3-3</a></li>
								</ul>
							</div>
						</li>
					</ul>
				</div>
			</li>
		</ul>			
	</div>
</nav>

It should look like this
<nav id="mp-menu" class="mp-menu mp-cover">
    <a href="#" class="close-menu"><i class="fas fa-times"></i></a>
	<div class="mp-level mp-level-open" data-level="1">
        <ul>
			<li class="icon icon-arrow-right"><a href="#" title="item-1">item-1</a>
				<div class="mp-level" data-level="2">
				<a class="mp-back" href="#" rel="nofollow">Back</a>
					<ul>
						<li><a href="url" title="item-1-1">item-1-1</a></li>
						<li><a href="url" title="item-1-3">item-1-2</a></li>
						<li class="icon icon-arrow-right"><a href="#" title="item-1-3">item-1-3</a>
							<div class="mp-level" data-level="3">
								<a class="mp-back" href="#" rel="nofollow">Back</a>
								<ul>
									<li><a href="url" title="item-1-3-1">item-1-3-1/a></li>
									<li><a href="url" title="item-1-3-2">item-1-3-2</a></li>
									<li><a href="url" title="item-1-3-3">item-1-3-3</a></li>
								</ul>
							</div>
						</li>
					</ul>
				</div>
			</li>
		</ul>			
	</div>
</nav>


Call snippet
[[!pdoMenu? 
            &parents=`18,14,29`
            &outerTpl=`outerTpl` 
            &rowTpl=`innerRowTpl` 
            &innerTpl=`menuRow` 
            &innerRowTpl=`menuRowTpl` 
            &showUnpublished=`1` 
            &level=`3`
            &offset=`1`
            &limit=`0`
            &ignoreHidden=`1`
            &tplStart=`@INLINE [[+wrapper]]`
            &displayStart=`1`
        ]]

outerTpl:
<ul>[[+wf.wrapper]]</ul>


innerTpl:
<li class="icon icon-arrow-right"><a href="#" title="[[+wf.title]]">[[+wf.linktext]]</a><div class="mp-level">
    	<a class="mp-back" href="#" rel="nofollow">Назад</a>
	<ul>[[+wf.wrapper]]</ul>
    </div>
</li>

innerRowTpl:
<li class="icon icon-arrow-right"><a href="#" title="[[+wf.title]]">[[+wf.linktext]]</a><div class="mp-level">
    <p class="h4">[[+wf.textlink]]</p>
	<a class="mp-back" href="#" rel="nofollow">Назад</a>
	<ul>[[+wf.wrapper]]</ul>
    </div>
</li>

и innerRowTpl:
<li><a href="[[+wf.link]]" title="[[+wf.title]]">[[+wf.linktext]]</a>[[+wf.wrapper]]</li>


Please direct where I was wrong (]]>
https://forums.modx.com/thread/104902/pdomenu-dublicate-links#dis-post-564116 Mon, 18 Feb 2019 09:04:19 +0000 https://forums.modx.com/thread/104902/pdomenu-dublicate-links#dis-post-564116
<![CDATA[Dynamic Media Source with MIGX and Babel]]> https://forums.modx.com/thread/86004/dynamic-media-source-with-migx-and-babel#dis-post-564069 http://rtfm.modx.com/display/ADDON/MIGX.Use+resource-specific+media+source+and+multifile-uploader

I'm only interested in the dynamic part (not the multifile-uploader), so I'm only changing basepath and baseurl to:
[[migxResourceMediaPath? &pathTpl=`assets/resourceimages/{id}/`]]


Problem is that I'm also using Babel for multilanguage support, and this particular TV is (and should be) synced between translations. With the solution above I get one folder for each translation, meaning my users have to (in this case) upload a portrait for each translation.

Is there some way of replacing {id} above to always be the ID of the default language resource? Something like:
[[migxResourceMediaPath? &pathTpl=`assets/resourceimages/[[BabelTranslation? &contextKey=`web` &resourceId=`{id}`]]/`]]


Any help appreciated!]]>
https://forums.modx.com/thread/86004/dynamic-media-source-with-migx-and-babel#dis-post-564069 Wed, 13 Feb 2019 12:46:35 +0000 https://forums.modx.com/thread/86004/dynamic-media-source-with-migx-and-babel#dis-post-564069
<![CDATA[How to automate list of featured pages/articles ?]]> https://forums.modx.com/thread/104877/how-to-automate-list-of-featured-pages-articles#dis-post-564012
<section class="usa-section usa-section-dark usa-graphic_list">
<div class="usa-grid usa-graphic_list-row">
[[!getResources? &parents=`-1` &resources=`322,224` &tpl=`featuredarticles` &includeTVs=`1` &processTVs=`1`]]
</div>
<div class="usa-grid usa-graphic_list-row">
[[!getResources? &parents=`-1` &resources=`79,75` &tpl=`featuredarticles` &includeTVs=`1` &processTVs=`1`]]
</div>
</section>


The template looks like this:

<div class="usa-width-one-half usa-media_block">
      <img class="usa-media_block-img" src="[[+tv.tvImage]]" alt="" width="124" height="124" />
      <div class="usa-media_block-body">
        <h3><a href="[[~[[+id]]]]" title="[[+description]]">[[+longtitle]]</a></h3>
        <p>[[+introtext]]</p>
      </div>
    </div>


As you see, I manually put the ID´s of the article I want to be featured. How can I automate this?]]>
https://forums.modx.com/thread/104877/how-to-automate-list-of-featured-pages-articles#dis-post-564012 Fri, 08 Feb 2019 04:28:23 +0000 https://forums.modx.com/thread/104877/how-to-automate-list-of-featured-pages-articles#dis-post-564012
<![CDATA[how to restore backup from BackupMODX?]]> https://forums.modx.com/thread/104536/how-to-restore-backup-from-backupmodx#dis-post-564000 https://forums.modx.com/thread/104536/how-to-restore-backup-from-backupmodx#dis-post-564000 Thu, 07 Feb 2019 05:08:12 +0000 https://forums.modx.com/thread/104536/how-to-restore-backup-from-backupmodx#dis-post-564000 <![CDATA[ [MIGX] Hide unnecessary FormTabs]]> https://forums.modx.com/thread/104884/migx-hide-unnecessary-formtabs#dis-post-563962 https://forums.modx.com/thread/104884/migx-hide-unnecessary-formtabs#dis-post-563962 Tue, 05 Feb 2019 12:13:39 +0000 https://forums.modx.com/thread/104884/migx-hide-unnecessary-formtabs#dis-post-563962 <![CDATA[using images in getfeed]]> https://forums.modx.com/thread/97963/using-images-in-getfeed#dis-post-563781
Is it possible that images in a RSS-feed can be used with Getfeed?]]>
https://forums.modx.com/thread/97963/using-images-in-getfeed#dis-post-563781 Sun, 27 Jan 2019 07:44:35 +0000 https://forums.modx.com/thread/97963/using-images-in-getfeed#dis-post-563781
<![CDATA[Make a dynamic menu]]> https://forums.modx.com/thread/104807/make-a-dynamic-menu#dis-post-563621
I have downloaded an HTML5 template from Themeforest and I'm trying to convert it to a MODx site. The template in question seems to be a really good one.

The template provides many variations of different menus but I'm really only interested in a simple dropdown menu...nothing too exotic, just a basic vertical dropdown. A sample of the hardcoded menu that I'm interested in would look like this (I've edited it down to its simplest form for you to see):

 <div class="panel-group" id="accordionMenu" role="tablist" aria-multiselectable="true">
  
    <div class="panel panel-default">
      <div class="panel-heading  " role="tab" id="headingOne">
        <h4 class="panel-title content-page-white">
        <a role="button" data-toggle="collapse" data-parent="#accordionMenu" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
          Sport Turfs
        </a>
      </h4>
      </div>
      <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
        <div class="panel-body">
          <ul class="nav">
            <li><a href="products-sport-turfs.html">All</a></li>
            <li><a href="products-sport-turfs-football.html">Football</a></li>
            <li><a href="products-sport-turfs-golf.html">Golf</a></li>
			<li><a href="products-sport-turfs-hockey.html">Hockey</a></li>
            <li><a href="products-sport-turfs-multisport.html">Multisport</a></li>
			<li><a href="products-sport-turfs-rugby.html">Rugby</a></li>
            <li><a href="products-sport-turfs-baseball.html">Baseball</a></li>
			<li><a href="products-sport-turfs-tennis.html">Tennis</a></li>
          </ul>
        </div>
      </div>
    </div>
    <div class="panel panel-default">
      <div class="panel-heading  " role="tab" id="headingTwo">
        <h4 class="panel-title content-page-white">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordionMenu" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
          Decoration Turfs
        </a>
      </h4>
      </div>
      <div id="collapseTwo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingTwo">
        <div class="panel-body">
          <ul class="nav">
			<li><a class="active" href="products-decoration-turfs.html">All</a></li>
            <li><a href="products-decoration-turfs-decoration.html">Decoration</a></li>
            <li><a href="products-decoration-turfs-landscape.html">Landscape</a></li>
          
          </ul>
        </div>
      </div>
    </div>
    <div class="panel panel-default">
      <div class="panel-heading  " role="tab" id="headingThree">
        <h4 class="panel-title content-page-white">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordionMenu" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
          Maintenance
        </a>
      </h4>
      </div>
      <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
        <div class="panel-body">
          <ul class="nav">
			<li><a href="products-turf-maintenance.html">All</a></li>
            <li><a href="products-turf-maintenance-tools.html">Tools</a></li>
            <li><a href="products-turf-maintenance-infill.html">Infill</a></li>
            <li><a href="products-turf-maintenance-repair.html">Repair&Maintenance</a></li>
            <li><a href="products-turf-maintenance-reclamation.html">Reclamation</a></li>
          </ul>
        </div>
      </div>
    </div>
    
    
    <div class="panel panel-default">
      <div class="panel-heading  " role="tab" id="headingFour">
        <h4 class="panel-title content-page-white">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordionMenu" href="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
		 Equipment
        </a>
      </h4>
      </div>
      <div id="collapseFour" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
        <div class="panel-body">
          <ul class="nav">
			<li><a href="prdoucts-sports-equipment.html">All</a></li>
            <li><a href="prdoucts-sports-equipment-soccergoals.html">Soccer Goals</a></li>
            <li><a href="prdoucts-sports-equipment-training.html">Training</a></li>
			<li><a href="prdoucts-sports-equipment-scoreboard.html">Scoreboard</a></li>
          </ul>
        </div>
      </div>
    </div>
    
  </div>


Could you please help me with making it dynamic via pdoMenu or WayFinder. I would really appreciate it and it will help me alot in learning ModX.]]>
https://forums.modx.com/thread/104807/make-a-dynamic-menu#dis-post-563621 Thu, 17 Jan 2019 01:16:48 +0000 https://forums.modx.com/thread/104807/make-a-dynamic-menu#dis-post-563621
<![CDATA[Modx Gallery doesn't show images in manager view]]> https://forums.modx.com/thread/104427/modx-gallery-doesn-t-show-images-in-manager-view#dis-post-563491
I have Gallery 1.7.1-pl and MODX Revolution 2.6.5-pl installed, Ubuntu 18.04 and MySQL 8.0 if it matters.

So, I've successfully installed Gallery and can upload files, but they do not show up in album view. "No files match the specified filter."

I've double checked that files do exist in file manager and correctly shown in assets/gallery

ModX Error log shows the following line when I open the album page in manager:

[2018-09-21 18:43:18] (ERROR @ /usr/share/nginx/artroilencom/core/xpdo/om/xpdoobject.class.php : 240) Error 42000 executing statement:
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC LIMIT 20' at line 4
)
This line is for error debug information, nothing to do with the error itself.]]>
https://forums.modx.com/thread/104427/modx-gallery-doesn-t-show-images-in-manager-view#dis-post-563491 Wed, 09 Jan 2019 01:07:49 +0000 https://forums.modx.com/thread/104427/modx-gallery-doesn-t-show-images-in-manager-view#dis-post-563491
<![CDATA[Alternative to FileLister extra?]]> https://forums.modx.com/thread/104257/alternative-to-filelister-extra#dis-post-563442 Does anyone know of a good alternative to FileLister (https://docs.modx.com/extras/revo/filelister)? I've used it for about 4 years, and it works great (even on Revo 2.6.5 on PHP 5.6.16) but as soon as I upgrade to PHP 7, it breaks--it looks like File Lister uses mcrypt which is not supported by PHP 7.]]> https://forums.modx.com/thread/104257/alternative-to-filelister-extra#dis-post-563442 Fri, 04 Jan 2019 04:03:29 +0000 https://forums.modx.com/thread/104257/alternative-to-filelister-extra#dis-post-563442 <![CDATA[Image+: snippet OK - plugin NOK]]> https://forums.modx.com/thread/104715/image-snippet-ok---plugin-nok#dis-post-563293
MODX 2.6.5
Image+ 2.8.0

If image+ is used in a snippet (runsnippet), it works as expected

$image = $modx->runsnippet('imageplus', array(
    'tvname' => 'tv',
    'docid' => $resourceID
)); 


The same code used in a plugin (for an OnBeforeDocFormSave system event) turns saving a resource into a loop.

Can anyone explain this?

Do I have to specify the output in the plugin? How?

Ludo
]]>
https://forums.modx.com/thread/104715/image-snippet-ok---plugin-nok#dis-post-563293 Mon, 17 Dec 2018 03:35:55 +0000 https://forums.modx.com/thread/104715/image-snippet-ok---plugin-nok#dis-post-563293
<![CDATA[Goodnews fails to send]]> https://forums.modx.com/thread/104664/goodnews-fails-to-send#dis-post-563285
Goodnews has been functioning quite smoothly for the past three+ months now. It has sent some 20 mailings (one each week) to 700 recipients.

Yesterday's mailing was not sent though and I cannot find a reason why. Even if I turn debugging on, the logs don't show anything.

All I know is that the mails do not arrive at the mailserver, or to be more precise: they are not processed by the server.

Where to look for a solution to this problem?

Ludo Vangilbergen
]]>
https://forums.modx.com/thread/104664/goodnews-fails-to-send#dis-post-563285 Mon, 17 Dec 2018 09:02:10 +0000 https://forums.modx.com/thread/104664/goodnews-fails-to-send#dis-post-563285
<![CDATA[LikeDislike plugin]]> https://forums.modx.com/thread/104720/likedislike-plugin#dis-post-563257
i used [[!LikeDislike? &name=`[[*pagetitle]]` &rating=`type=1,tv=myLike,output=votes_up`]]

and this is what i get https://imgur.com/a/ZucOKWM

The buttons +1 and -1 do not work

Any help would be appreciated

thanks]]>
https://forums.modx.com/thread/104720/likedislike-plugin#dis-post-563257 Fri, 14 Dec 2018 11:38:39 +0000 https://forums.modx.com/thread/104720/likedislike-plugin#dis-post-563257
<![CDATA[UpgradeMODX shows no widget]]> https://forums.modx.com/thread/104675/upgrademodx-shows-no-widget#dis-post-563022
Installed UpgradeMODX but it shows no widget, I deleted the core/cache dir and locked the properties of the snippet and nothing. Please help!]]>
https://forums.modx.com/thread/104675/upgrademodx-shows-no-widget#dis-post-563022 Sat, 01 Dec 2018 03:37:08 +0000 https://forums.modx.com/thread/104675/upgrademodx-shows-no-widget#dis-post-563022
<![CDATA[Upgrade Modx causes 500 error on manager dashboard]]> https://forums.modx.com/thread/104581/upgrade-modx-causes-500-error-on-manager-dashboard?page=2#dis-post-562975
Just upgraded to the latest version of Upgrade Modx on a site and it's causing a 500 error on the dashboard, only way I could get back in was to empty the modx_dashboard_widget_placement table in the database, but if I try to add Upgrade Modx back to the dashboard I get the 500 error again.

Error log is empty.

If you want access to debug it just shout smiley]]>
https://forums.modx.com/thread/104581/upgrade-modx-causes-500-error-on-manager-dashboard?page=2#dis-post-562975 Wed, 28 Nov 2018 09:29:23 +0000 https://forums.modx.com/thread/104581/upgrade-modx-causes-500-error-on-manager-dashboard?page=2#dis-post-562975
<![CDATA[Notify Extra sends email twice]]> https://forums.modx.com/thread/104565/notify-extra-sends-email-twice?page=2#dis-post-562850
I'm using Notify to email updates to registered users. So far so good - it works well with one exception: it sends all the emails twice. 2 mails are better than none, but it's little annoying to the recipients.

Here some details about my environment and usage of Notify:

  • MODX: 2.6.5-pl
  • PHP: 7.2.10
  • PHPMailer: 5.2.14
  • Notify: notify-1.4.2-pl

On the Snippet of Notify I've added custom properties to use a group for all recipients which works fine at all.
modMailX is set as mailService.

The email is also sent twice if I choose a single email-address instead of the subscribers group on the Notify form.

Any ideas how to prevent this behavior?

Thanks!
Mike


]]>
https://forums.modx.com/thread/104565/notify-extra-sends-email-twice?page=2#dis-post-562850 Tue, 20 Nov 2018 09:47:54 +0000 https://forums.modx.com/thread/104565/notify-extra-sends-email-twice?page=2#dis-post-562850
<![CDATA[Notify Extra, second batch error]]> https://forums.modx.com/thread/104622/notify-extra-second-batch-error#dis-post-562735 This works great for 25 or less subscribers, but when I get over 25, it starts a second Batch...and it sends 2 emails.

One with the correct email, and another with the placeholder code still there {{+firstname}}.

I get this error.
[2018-11-14 09:23:23] (ERROR @ /paas/c0909/www/core/model/modx/mail/modphpmailer.class.php : 172) You must provide an email address to send to.
[2018-11-14 09:23:23] (ERROR @ /paas/c0909/www/core/components/notify/model/notify/modmailx.class.php : 301) PHP warning: Invalid argument supplied for foreach()

Any idea?]]>
https://forums.modx.com/thread/104622/notify-extra-second-batch-error#dis-post-562735 Wed, 14 Nov 2018 09:29:29 +0000 https://forums.modx.com/thread/104622/notify-extra-second-batch-error#dis-post-562735
<![CDATA[ [ADDONS] Archivisist with Collections returns blank page]]> https://forums.modx.com/thread/103062/addons-archivisist-with-collections-returns-blank-page#dis-post-562493
I can't get Archivist to work with Collections. I end up with a blank page when clicking on a month from the archivist list.
[Resource]
https://docs.modx.com/extras/revo/archivist

Blogit container template:

<h3>Archief</h3>
<ul>
 [[!Archivist? &target=`10` &parents=`2` &useFurls=`0` &limit=`5` setLocale=`nl`]]
</ul>


&parent=`2` is a collection and &target=`10` is the resource that should show the result.

Archief resource (id=10)

[[!getArchives?
   &parents=`2`
]]
 
<h2>[[!+arc_month_name]] [[!+arc_year]] Archief</h2>
[[!+archives]]


Specs
- MODX version: Revo 2.5.8-pl over https
- Server: Nginx

Troubleshoot:

  1. Empty site & URI cache
  2. When clicking on a result of the Archivist list, it returns a blank page @:
    mydomain.nl/index.php?id=7&arc_year=2017&arc_month=10
  3. The collection (parents=`2`) is not hidden from menu, neither are the resources in it.

What am I missing?]]>
https://forums.modx.com/thread/103062/addons-archivisist-with-collections-returns-blank-page#dis-post-562493 Fri, 02 Nov 2018 10:06:31 +0000 https://forums.modx.com/thread/103062/addons-archivisist-with-collections-returns-blank-page#dis-post-562493